Class ForwardSpotShader
Inheritance
java.lang.Object
ForwardSpotShader
Syntax
public class ForwardSpotShader extends Shader
Constructors
ForwardSpotShader()
Declaration
public ForwardSpotShader()
Methods
getInstance()
Declaration
public static ForwardSpotShader getInstance()
Returns
Declaration
public void setUniformLight(String uniformName, Light baseLight)
Parameters
Type |
Name |
Description |
String |
uniformName |
|
Light |
baseLight |
|
Declaration
public void setUniformPointLight(String uniformName, PointLight pointLight)
Parameters
Type |
Name |
Description |
String |
uniformName |
|
PointLight |
pointLight |
|
Declaration
public void setUniformSpotLight(String uniformName, SpotLight spotLight)
Parameters
Type |
Name |
Description |
String |
uniformName |
|
SpotLight |
spotLight |
|
Declaration
public void updateUniforms(Transform transform, Material mat, RenderingEngine engine)
Parameters