principia/data/shaders/pv_textured.fp
ROllerozxa 958f4f5056 Remove references to unused "GI" graphics effect
Assumedly abbreviation of "global illumination", some kind of alternative to the current way of drawing the shadows. Doesn't work very well when enabled, remove it.
2025-03-09 20:55:04 +01:00

14 lines
273 B
GLSL

uniform lowp sampler2D tex_0;
UNIFORMS
varying lowp float FS_diffuse;
varying lowp vec2 FS_texcoord;
VARYINGS
void main(void)
{
lowp vec4 albedo = texture2D(tex_0, FS_texcoord);
gl_FragColor = SHADOW*albedo*FS_diffuse +
albedo*(_AMBIENT)*AMBIENT_OCCL;
}