mirror of
https://gitlab.com/veloren/veloren
synced 2026-08-16 16:26:07 -04:00
Replace discard in figure-frag.
This commit is contained in:
parent
d83b4ae69b
commit
7482798354
1 changed files with 2 additions and 1 deletions
|
|
@ -115,7 +115,8 @@ void main() {
|
|||
float opacity = clamp(distance / distance_divider, 0, 1);
|
||||
|
||||
if(threshold_matrix[int(gl_FragCoord.x) % 4][int(gl_FragCoord.y) % 4] > opacity) {
|
||||
discard;
|
||||
tgt_color = vec4(color, 0.0);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue