Programmable vertex shader that mimicks the behavior of the fixed function pipeline.
More...
#include <fixed_function_approximation_shader.h>
|
| FixedFunctionApproximationShader (uint32_t framebuffer_width, uint32_t framebuffer_height, float z_min=0, float z_max=0x7FFF, float fov_y=M_PI *0.25f, float near=1.0f, float far=10.0f) |
|
void | SetDirectionalLightDirection (const vector_t &direction) |
| Sets the direction from the origin towards the directional light.
|
|
void | SetDirectionalLightCastDirection (const vector_t &direction) |
| Sets the direction in which the directional light is casting light.
|
|
|
int | OnLoadConstants () override |
|
Programmable vertex shader that mimicks the behavior of the fixed function pipeline.
The documentation for this class was generated from the following files: