fix SSGI/RTAO in nether. fix LPV fog brightness slider not working right. add color picker for the selection box outline

This commit is contained in:
Xonk
2024-06-21 14:20:25 -04:00
parent 60e807cfce
commit 52b5e13155
6 changed files with 28 additions and 10 deletions

View File

@ -450,7 +450,10 @@ void main() {
Indirect_lighting = DoAmbientLightColor(feetPlayerPos, lpvPos, AmbientLightColor, MinimumLightColor, Torch_Color, clamp(lightmap.xy,0,1), exposure);
#ifdef LINES
gl_FragData[0].rgb = (Indirect_lighting + Direct_lighting) * toLinear(color.rgb);
if(SELECTION_BOX > 0) gl_FragData[0].rgba = vec4(toLinear(vec3(SELECT_BOX_COL_R, SELECT_BOX_COL_G, SELECT_BOX_COL_B)), 1.0);
#else
gl_FragData[0].rgb = (Indirect_lighting + Direct_lighting) * Albedo;
#endif