mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-01-04 00:23:41 +08:00
fix some stuff rendering through the hand (block breaking, selection box, particles, leads)
This commit is contained in:
parent
8f5111d82d
commit
56bb9311be
@ -282,7 +282,11 @@ vec4 texture2D_POMSwitch(
|
|||||||
//////////////////////////////VOID MAIN//////////////////////////////
|
//////////////////////////////VOID MAIN//////////////////////////////
|
||||||
//////////////////////////////VOID MAIN//////////////////////////////
|
//////////////////////////////VOID MAIN//////////////////////////////
|
||||||
|
|
||||||
/* RENDERTARGETS: 1,7,8,15 */
|
#ifdef HAND
|
||||||
|
/* RENDERTARGETS: 1,7,8,15,2 */
|
||||||
|
#else
|
||||||
|
/* RENDERTARGETS: 1,7,8,15 */
|
||||||
|
#endif
|
||||||
void main() {
|
void main() {
|
||||||
|
|
||||||
|
|
||||||
@ -442,8 +446,11 @@ void main() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAND
|
#ifdef HAND
|
||||||
if (Albedo.a > 0.1) Albedo.a = 0.75;
|
if (Albedo.a > 0.1){
|
||||||
else Albedo.a = 0.0;
|
Albedo.a = 0.75;
|
||||||
|
gl_FragData[4].a = 0.0;
|
||||||
|
} else Albedo.a = 1.0;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user