clown. emoji. ("fixed" lighting division (fixes water not looking correct)
This commit is contained in:
@@ -98,7 +98,7 @@ layout(binding = LIGHTING_SAMPLER_BINDING) uniform sampler2D lightSampler;
|
|||||||
|
|
||||||
vec4 getLighting(uint index) {
|
vec4 getLighting(uint index) {
|
||||||
int i2 = int(index);
|
int i2 = int(index);
|
||||||
return texture(lightSampler, clamp((vec2((i2>>4)&0xF, i2&0xF))/16, vec2(8.0f/255), vec2(248.0f/255)));
|
return texture(lightSampler, clamp((vec2((i2>>4)&0xF, i2&0xF))/15, vec2(8.0f/256), vec2(248.0f/256)));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user