Create/Update assets for version 1.15.2

This commit is contained in:
InventiveBot
2020-01-24 10:51:17 +00:00
parent 680741d97c
commit dcb94b454f
1525 changed files with 198372 additions and 31264 deletions

View File

@@ -1,4 +1,4 @@
#version 120
#version 110
uniform sampler2D DiffuseSampler;
@@ -14,8 +14,8 @@ uniform vec2 WobbleAmount;
vec3 hue(float h)
{
float r = abs(h * 6.0 - 3.0) - 1.0;
float g = 2 - abs(h * 6.0 - 2.0);
float b = 2 - abs(h * 6.0 - 4.0);
float g = 2.0 - abs(h * 6.0 - 2.0);
float b = 2.0 - abs(h * 6.0 - 4.0);
return clamp(vec3(r,g,b), 0.0, 1.0);
}
@@ -29,7 +29,7 @@ vec3 RGBtoHSV(vec3 rgb) {
float min = min(rgb.r, min(rgb.g, rgb.b));
float c = hsv.z - min;
if (c != 0)
if (c != 0.0)
{
hsv.y = c / hsv.z;
vec3 delta = (hsv.z - rgb) / c;