squared distance function

This commit is contained in:
Joshua
2016-09-23 14:31:05 +02:00
parent 22f7af4cf7
commit 5129eb207b
2 changed files with 15 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ int UNSET = -1;
vec3 greenValue = vec3(0.0f, 1.0f, 0.0f);
vec3 difference = vec3(40.0f/255.0f);
int radius = 5;
int radius = 3;
vec3 getColor(vec2 uvCoord) {