mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-01-03 16:13:30 +08:00
FIX SSS on entities
This commit is contained in:
parent
410bf1cfbd
commit
80c310611b
@ -300,7 +300,6 @@ void main() {
|
|||||||
if(mc_Entity.x == 10006 || mc_Entity.x == 200) SSSAMOUNT = 0.75;
|
if(mc_Entity.x == 10006 || mc_Entity.x == 200) SSSAMOUNT = 0.75;
|
||||||
|
|
||||||
// low
|
// low
|
||||||
|
|
||||||
#ifdef MISC_BLOCK_SSS
|
#ifdef MISC_BLOCK_SSS
|
||||||
if(mc_Entity.x == 10007 || mc_Entity.x == 10008) SSSAMOUNT = 0.5; // weird SSS on blocks like grass and stuff
|
if(mc_Entity.x == 10007 || mc_Entity.x == 10008) SSSAMOUNT = 0.5; // weird SSS on blocks like grass and stuff
|
||||||
#endif
|
#endif
|
||||||
@ -350,18 +349,10 @@ void main() {
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef Seasons
|
#if defined Seasons && defined WORLD && !defined ENTITIES && !defined BLOCKENTITIES && !defined HAND
|
||||||
#ifdef WORLD
|
|
||||||
#ifndef BLOCKENTITIES
|
|
||||||
#ifndef ENTITIES
|
|
||||||
#ifndef HAND
|
|
||||||
float blank = 0.0;
|
float blank = 0.0;
|
||||||
YearCycleColor(color.rgb, gl_Color.rgb, blank);
|
YearCycleColor(color.rgb, gl_Color.rgb, blank);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef TAA_UPSCALING
|
#ifdef TAA_UPSCALING
|
||||||
gl_Position.xy = gl_Position.xy * RENDER_SCALE + RENDER_SCALE * gl_Position.w - gl_Position.w;
|
gl_Position.xy = gl_Position.xy * RENDER_SCALE + RENDER_SCALE * gl_Position.w - gl_Position.w;
|
||||||
|
@ -56,7 +56,7 @@ blend.composite.colortex12 = off
|
|||||||
|
|
||||||
# Alpha test
|
# Alpha test
|
||||||
alphaTest.shadow = GREATER 0.1
|
alphaTest.shadow = GREATER 0.1
|
||||||
alphaTest.gbuffers_entities = GREATER 0.1
|
alphaTest.gbuffers_entities = GREATER 0.01
|
||||||
|
|
||||||
alphaTest.gbuffers_armor_glint=false
|
alphaTest.gbuffers_armor_glint=false
|
||||||
alphaTest.gbuffers_weather=false
|
alphaTest.gbuffers_weather=false
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#version 120
|
#version 120
|
||||||
|
|
||||||
|
|
||||||
// #define WORLD
|
#define WORLD
|
||||||
#define ENTITIES
|
#define ENTITIES
|
||||||
|
|
||||||
#define OVERWORLD_SHADER
|
#define OVERWORLD_SHADER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user