dash.graphics.shaders.glsl.pointlight

Lighting pass shader for Point Lights

Members

Variables

pointlightFS
string pointlightFS;

Outputs diffuse and specular color from the light, using the view ray to reconstruct position and a falloff rate to attenuate

pointlightVS
string pointlightVS;

Takes a mesh representing the possible area of the light and creates a ray to each vertex

Meta