New answers tagged fragment-shader
5
A fragment pipe is a portion of the pixel pipeline that processes fragments. The more you have, the more you can parallelize fragment rendering. More is better, but like many things you get diminishing returns. You can learn more about the graphics pipeline here. The pixel pipeline is what's responsible for creating what goes in each pixel on screen, ...
0
After close inspection I found that the line:
gl_FragColor = baseColor * ( lightColor + 0.25 );
is probably exactly equal to:
gl_FragColor = baseColor * ( baseColor + 0.25 );
when uniform sampler2D s_lightMap isn't being loaded into the program.
EDIT: This may or may not be because of the State Functionality of openGL es 2.0, but I wouldn't bet on ...
Top 50 recent answers are included