class tinylib.shaders.GouraudShaderUV extends Shader

Available on all platforms

Gouraud Shader using texture

Class Fields

static var id:String

Instance Fields

var alpha:Float

var ambient: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):Void