Try fixing invisible wall bug
This commit is contained in:
parent
94817d6e67
commit
a51c06ae7b
1 changed files with 2 additions and 1 deletions
|
|
@ -88,5 +88,6 @@ void main() {
|
||||||
|
|
||||||
|
|
||||||
// minDistance / 2.0: NDC to UV scale
|
// minDistance / 2.0: NDC to UV scale
|
||||||
fragmentColor = vec2(minDistance / 2.0, color);
|
// - 0.005 is for making it more consistent with the physics
|
||||||
|
fragmentColor = vec2(minDistance / 2.0 - 0.005, color);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue