tesseract frame

This commit is contained in:
2018-12-20 21:12:39 -05:00
parent 7211e9fc1a
commit 5580899074
5 changed files with 85 additions and 36 deletions

View File

@@ -13,7 +13,7 @@ vec3 hsv2rgb(vec3 c) {
void main() {
float h = pos.w / 3 + .6;
float s = 1;
float v = smoothstep(2, -2, pos.z);
float v = smoothstep(3, -3, pos.z) / 2;
fcolor = vec4(hsv2rgb(vec3(h, s, v)), 1);
}