Technically matrix casts are only allowed in glsl 1.2 and later

This commit is contained in:
Ian Curtis 2017-08-09 23:25:01 +00:00
parent 063b7d3ea4
commit 57d0a513fd

View file

@ -5,6 +5,8 @@ namespace New3D {
static const char *vertexShaderR3D = R"glsl(
#version 120
// uniforms
uniform float fogIntensity;
uniform float fogDensity;
@ -32,6 +34,8 @@ void main(void)
static const char *fragmentShaderR3D = R"glsl(
#version 120
uniform sampler2D tex1; // base tex
uniform sampler2D tex2; // micro tex (optional)