Some drivers dont support const array
This commit is contained in:
parent
9728226ee3
commit
aa39246404
@ -34,7 +34,7 @@ float getShadowFactor(vec3 pos, float bias, int index)
|
||||
{
|
||||
//float a[5] = float[](3.4, 4.2, 5.0, 5.2, 1.1);
|
||||
|
||||
const vec2 shadowoffset[4] = vec2[](
|
||||
vec2 shadowoffset[4] = vec2[](
|
||||
vec2(-1., -1.),
|
||||
vec2(-1., 1.),
|
||||
vec2(1., -1.),
|
||||
|
Loading…
Reference in New Issue
Block a user