mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-27 02:32:39 +08:00
fix volumetrics not appearing behind particles
This commit is contained in:
@ -268,7 +268,7 @@ uniform vec3 eyePosition;
|
||||
#ifdef DAMAGE_BLOCK_EFFECT
|
||||
/* RENDERTARGETS:11 */
|
||||
#else
|
||||
/* RENDERTARGETS:2,9,11 */
|
||||
/* RENDERTARGETS:2,9,11,7 */
|
||||
#endif
|
||||
|
||||
void main() {
|
||||
@ -396,6 +396,8 @@ void main() {
|
||||
gl_FragData[1].a = 0.0; // for bloomy rain and stuff
|
||||
#endif
|
||||
|
||||
gl_FragData[3] = vec4(0.0,0.0,0.0,0.4);
|
||||
|
||||
vec3 Direct_lighting = vec3(0.0);
|
||||
vec3 directLightColor = vec3(0.0);
|
||||
|
||||
|
@ -410,6 +410,7 @@ if (gl_FragCoord.x * texelSize.x < 1.0 && gl_FragCoord.y * texelSize.y < 1.0 )
|
||||
// 0.9 = entity mask
|
||||
// 0.8 = reflective entities
|
||||
// 0.7 = reflective blocks
|
||||
// 0.4 = translucent particles
|
||||
// 0.3 = hand mask
|
||||
|
||||
#ifdef HAND
|
||||
|
Reference in New Issue
Block a user