class tinylib.shaders.PhongShaderUV extends Shader

Available on all platforms

Phong Shader using texture

Class Fields

static var id:String

Instance Fields

var alpha:Float

var ambient:Float

var cpos:Vector

var diffuse:Float

var gloss:Float

var light:Vector

var mpos:Matrix

var mproj:Matrix

var offset:Vector

var specular:Float

var tex:Texture

function new():Void

function setShaderVariables(mp:Matrix3D, mpro:Matrix3D, vo:Vector3D, lt:Vector3D, cp:Vector3D, am:Float, df:Float, sp:Float, gl:Float, texture:Texture, a:Float):Void