R2 Core Shaders

R2LightDirectionalSpecularSingle.frag
Go to the documentation of this file.
1 /// \file R2LightDirectionalSpecularSingle.frag
2 /// \brief An instantiation of the `R2LightDirectionalSpecular` shader for single instances
3
4 #define R2_RECONSTRUCT_DIFFUSE_SPECULAR_ONLY 1
5 #include "R2LightDirectionalSpecular.h"
6 #include "R2LightShaderDriverSingle.h"
R2LightShaderDriverSingle.h
A fragment shader driver for single instance lights.
R2LightDirectionalSpecular.h
A trivial directional light with Phong specular highlights.