diff options
Diffstat (limited to '')
-rw-r--r-- | cwd/shaders/face.fs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cwd/shaders/face.fs b/cwd/shaders/face.fs index aa45997..ae2eb56 100644 --- a/cwd/shaders/face.fs +++ b/cwd/shaders/face.fs @@ -2,9 +2,10 @@ in VS_OUT { vec2 UvPosition; - vec4 Texture; - vec3 Color; - vec2 Light; + flat vec4 Texture; + flat vec3 Color; + flat vec2 Light; + flat int Face; } fs_in; uniform sampler2D textureAtlas; @@ -47,4 +48,4 @@ void main() { gl_FragColor = vec4(hsv2rgb(hsvColor),1); //float faceLight = clamp((fs_in.Light.x + fs_in.Light.y) / 15.0,0.2,1.0); //gl_FragColor = vec4(gl_FragColor.rgb * faceLight,gl_FragColor.a); -}
\ No newline at end of file +} |