dash.graphics.shaders.glsl.directionallight

Lighting pass shader for Directional Lights

Members

Variables

directionallightFS
string directionallightFS;

Calculates diffuse and specular lights from the full-screen directional light, using the view ray to reconstruct pixel position

directionallightVS
string directionallightVS;

Takes in a clip-space quad and creates a ray from camera to each vertex, which is interpolated during pass-through

Meta