add hit glow effect in end and nether. make some shadow related settings more user friendly

This commit is contained in:
Xonk
2023-07-20 16:14:57 -04:00
parent 43a45ffe1b
commit bdaa0a5cfd
4 changed files with 43 additions and 5 deletions

View File

@ -417,8 +417,6 @@ void main() {
vec4 Albedo = texture2D_POMSwitch(texture, adjustedTexCoord.xy, vec4(dcdx,dcdy), ifPOM) * color;
if(LIGHTNING > 0) Albedo = vec4(1);
float ENDPORTAL_EFFECT = PORTAL > 0 ? EndPortalEffect(Albedo, fragpos, worldpos, tbnMatrix) : 0;
@ -533,7 +531,7 @@ void main() {
// hit glow effect...
#ifdef ENTITIES
Albedo.rgb = mix(Albedo.rgb, entityColor.rgb, entityColor.a);
gl_FragData[2].a = mix(gl_FragData[2].a, 0.5, entityColor.a);;
gl_FragData[2].a = mix(gl_FragData[2].a, 0.9, entityColor.a);;
#endif
//////////////////////////////// ////////////////////////////////