fixed block breaking transparency
This commit is contained in:
parent
0bcae51cce
commit
e43b783ba7
2 changed files with 14 additions and 0 deletions
10
shaders/gbuffers_damagedblock.fsh
Normal file
10
shaders/gbuffers_damagedblock.fsh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#version 120
|
||||
|
||||
varying vec2 texcoord;
|
||||
|
||||
uniform sampler2D texture;
|
||||
|
||||
void main() {
|
||||
gl_FragData[0] = texture2D(texture, texcoord);
|
||||
}
|
||||
|
4
shaders/gbuffers_damagedblock.vsh
Normal file
4
shaders/gbuffers_damagedblock.vsh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#version 120
|
||||
|
||||
#include "/module/empty.vert"
|
||||
|
Loading…
Reference in a new issue