mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update entity.glslf
This commit is contained in:
parent
08fae1a47c
commit
db4f05cf36
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ void main() {
|
||||||
// anyway it's any alpha-test alternative required
|
// anyway it's any alpha-test alternative required
|
||||||
if (u_alphaClip) {
|
if (u_alphaClip) {
|
||||||
float bayer = calc_bayer(gl_FragCoord.xy);
|
float bayer = calc_bayer(gl_FragCoord.xy);
|
||||||
if (alpha * bayer * bayer < 0.1f) {
|
if (alpha - bayer < 0.01f) {
|
||||||
discard;
|
discard;
|
||||||
}
|
}
|
||||||
alpha = 1.0;
|
alpha = 1.0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue