class tinylib.shaders.GouraudShaderUVDC extends Shader

Available on all platforms

Gouraud Shader using texture and depth cueing

Class Fields

static var id:String

Instance Fields

var alpha:Float

var ambient:Float

var dc:Float

var dclength:Float

var diffuse:Float

var light:Vector

var mpos:Matrix

var mproj:Matrix

var offset:Vector

var tex:Texture

function new():Void

function setShaderVariables(mp:Matrix3D, mpro:Matrix3D, vo:Vector3D, lt:Vector3D, am:Float, df:Float, texture:Texture, a:Float, d:Float, dl:Float):Void