R2 Shaders
Data Fields
R2_basic_surface_parameters_t Struct Reference

Constant surface parameters that all basic surface shaders will receive. More...

#include <R2SurfaceBasicTypes.h>

Data Fields

float emission_amount
 Emission level in the range [0, 1]
 
vec4 albedo_color
 Base RGBA albedo color.
 
float albedo_mix
 Albedo color/texture mix.
 
vec3 specular_color
 RGB specular color.
 
float specular_exponent
 Specular exponent in the range [0, 256]
 
float alpha_discard_threshold
 Alpha discard threshold in the range [0, 1].
 

Detailed Description

Constant surface parameters that all basic surface shaders will receive.

Definition at line 9 of file R2SurfaceBasicTypes.h.


The documentation for this struct was generated from the following file: