5 #include "../gl/shader.hpp" 16 GLint metallic_sampler;
17 GLint roughness_sampler;
18 GLint emission_sampler;
19 GLint ambient_occlusion_sampler;
23 GLint index_of_refraction;
27 GLint ambient_occlusion;
64 GLint attenuation_factor;
72 GLint model_view_projection;
80 std::array<Environment_uniforms, 2> environment_maps{};
82 std::array<GLuint, 4> shadow_samplers{};
83 std::array<Light_uniforms, 4> spot_lights{};
84 std::array<GLint, 4> depth_bias_mvps{};
87 std::array<GLuint, 4> cascaded_shadow_samplers{};
88 std::array<GLint, 4> cascaded_depth_bias_mvps{};
91 GLint brdf_lut_sampler;
Definition: program.hpp:7
Definition: array_buffers.hpp:5
Uniforms for the standard shader.
Definition: standard_program.hpp:10
Render geometry shapes with OpenGL.
Definition: renderer.hpp:40