Top "Glsles" questions

Language (GLSL) version 1.20.

Index expression must be constant - WebGL/GLSL error

I'm having trouble accessing an array in a fragment shader using a non-constant int as the index. I've removed the …

arrays glsl webgl glsles
Rotating a texture on a Fragment Shader in GLSL ES

I'm trying to rotate a texture in a fragment shader, instead of using the vertex shader and matrix transformations. The …

rotation shader glsles
How do you pack one 32bit int Into 4, 8bit ints in glsl / webgl?

I'm looking to parallelize some complex math, and webgl looks like the perfect way to do it. The problem is, …

javascript webgl glsl glsles
glsl es 2.0 inverse matrix

There is no inverse command in glsl es 2.0 But I saw that I can 1.0/mat2 . But I fear it'll just …

glsl glsles
GLSL Shader Error on Mac, but not Windows: cannot convert from 'const int' to '4-component vector of float'

I'm new to shaders and I started playing around with some of them yesterday. They compile fine on my Windows …

java opengl glsl libgdx glsles
When switching to GLSL 300, met the following error

when I switch to use OpenGL ES 3 with GLSL 300, I met the following error in my frag shader undeclared identifier …

glsl glsles opengl-es-3.0