mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-09 21:44:54 +00:00
14 lines
182 B
GLSL
14 lines
182 B
GLSL
#if !@ffpLighting
|
|
struct Sunlight
|
|
{
|
|
vec4 diffuse;
|
|
vec4 ambient;
|
|
vec4 specular;
|
|
vec4 direction;
|
|
};
|
|
|
|
layout(std140) uniform SunlightBuffer
|
|
{
|
|
Sunlight Sun;
|
|
};
|
|
#endif |