mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 23:52:35 +00:00
Use new @include preprocessor added to CyberarmEngin::Shader
This commit is contained in:
15
shaders/include/light_struct.glsl
Normal file
15
shaders/include/light_struct.glsl
Normal file
@@ -0,0 +1,15 @@
|
||||
const int MAX_LIGHTS = 4;
|
||||
|
||||
struct Light {
|
||||
float end;
|
||||
float type;
|
||||
vec3 position;
|
||||
|
||||
vec3 diffuse;
|
||||
vec3 ambient;
|
||||
vec3 specular;
|
||||
|
||||
vec3 direction;
|
||||
|
||||
float intensity;
|
||||
};
|
||||
Reference in New Issue
Block a user