Fix inverted bug
This commit is contained in:
parent
d1dd360d83
commit
5723b91b32
3 changed files with 11 additions and 18 deletions
|
|
@ -13,16 +13,12 @@ in vec2 position;
|
|||
out vec2 fragmentColor;
|
||||
|
||||
void main() {
|
||||
float minDistance = abs(maxMinDistance);
|
||||
float minDistance = maxMinDistance;
|
||||
float color = 0.0;
|
||||
|
||||
float objectMinDistance, objectColor;
|
||||
|
||||
{functionCalls}
|
||||
|
||||
#ifndef NOT_EMPTY
|
||||
minDistance = maxMinDistance;
|
||||
#endif
|
||||
|
||||
fragmentColor = vec2(minDistance, color);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue