ngfx::DrawMeshOp::LightData
Public Attributes
Name | |
---|---|
vec4 | ambient |
vec4 | diffuse |
vec4 | specular |
vec4 | lightViewPos |
vec2 | shininess |
vec2 | padding |
Public Attributes Documentation
variable ambient
vec4 ambient = vec4(0.2f, 0.2f, 0.2f, 1.0f);
variable diffuse
vec4 diffuse = vec4(1.0f);
variable specular
vec4 specular = vec4(1.0f);
variable lightViewPos
vec4 lightViewPos = vec4(0.0f, 0.0f, 1.0f, 1.0f);
variable shininess
vec2 shininess = vec2(10.0f, 0.0f);
variable padding
vec2 padding;
Updated on 3 April 2021 at 20:21:51 PDT