Try fixing invisible wall bug

This commit is contained in:
schmelczerandras 2020-09-14 15:35:51 +02:00
parent 94817d6e67
commit a51c06ae7b

View file

@ -88,5 +88,6 @@ void main() {
// 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);
}