mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 16:12:35 +00:00
Work In Progress
This commit is contained in:
17
shaders/fragment/lighting.glsl
Normal file
17
shaders/fragment/lighting.glsl
Normal file
@@ -0,0 +1,17 @@
|
||||
# version 330 core
|
||||
|
||||
layout (location = 4) out vec4 sceneColor;
|
||||
|
||||
flat in int outLightType;
|
||||
in vec3 outLightPosition;
|
||||
in vec3 outLightAmbient;
|
||||
in vec3 outLightDiffuse;
|
||||
in vec3 outLightSpecular;
|
||||
|
||||
in vec2 outTexCoords;
|
||||
|
||||
@include "light_struct"
|
||||
|
||||
void main() {
|
||||
sceneColor = vec4(1.0, 0.5, 0.25, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user