corregit shader water. afegides metadades en els shaders

This commit is contained in:
2025-11-16 16:04:29 +01:00
parent 194726f823
commit b290cee689
10 changed files with 25 additions and 14 deletions

View File

@@ -1,5 +1,6 @@
// Name: Cineshader Lava // Name: Cineshader Lava
// Author: [TO_BE_COMPLETED] // Author: edankwan
// URL: https://www.shadertoy.com/view/3sySRK
#version 330 core #version 330 core
precision highp float; precision highp float;

View File

@@ -1,5 +1,6 @@
// Name: Creation // Name: Creation by Silexars
// Author: [TO_BE_COMPLETED] // Author: Danguafer
// URL: https://www.shadertoy.com/view/XsXXDn
#version 330 core #version 330 core
precision highp float; precision highp float;

View File

@@ -1,5 +1,6 @@
// Name: DBZ // Name: New Leaked 3I/Atlas NASA Footage
// Author: [TO_BE_COMPLETED] // Author: msm01
// URL: https://www.shadertoy.com/view/3ftcRr
#version 330 core #version 330 core
precision highp float; precision highp float;

View File

@@ -1,5 +1,6 @@
// Name: Fractal Pyramid // Name: Fractal Pyramid
// Author: [TO_BE_COMPLETED] // Author: bradjamesgrant
// URL: https://www.shadertoy.com/view/tsXBzS
#version 330 core #version 330 core
precision highp float; precision highp float;

View File

@@ -1,5 +1,6 @@
// Name: Just Another Cube // Name: Just Another Cube
// Author: [TO_BE_COMPLETED] // Author: mrange
// URL: https://www.shadertoy.com/view/3XdXRr
#version 330 core #version 330 core
precision highp float; precision highp float;

View File

@@ -1,5 +1,6 @@
// Name: Octograms // Name: Octograms
// Author: [TO_BE_COMPLETED] // Author: whisky_shusuky
// URL: https://www.shadertoy.com/view/tlVGDt
#version 330 core #version 330 core
precision highp float; precision highp float;

View File

@@ -1,5 +1,6 @@
// Name: Seascape // Name: Seascape
// Author: Alexander Alekseev (TDM) // Author: Alexander Alekseev
// URL: https://www.shadertoy.com/view/Ms2SD1
#version 330 core #version 330 core
precision highp float; precision highp float;

View File

@@ -1,5 +1,6 @@
// Name: Kishimisu // Name: Shader Art Coding Introduction
// Author: [TO_BE_COMPLETED] // Author: kishimisu
// URL: https://www.shadertoy.com/view/mtyGWy
#version 330 core #version 330 core
precision highp float; precision highp float;

View File

@@ -1,5 +1,5 @@
// Name: Test // Name: Test
// Author: [TO_BE_COMPLETED] // Author: JailDesigner
#version 330 core #version 330 core
out vec4 FragColor; out vec4 FragColor;
in vec2 vUV; in vec2 vUV;

View File

@@ -1,5 +1,6 @@
// Name: Water // Name: Water
// Author: diatribes (FabriceNeyret2) // Author: diatribes
// URL: https://www.shadertoy.com/view/tXjXDy
#version 330 core #version 330 core
precision highp float; precision highp float;
@@ -25,7 +26,9 @@ void mainImage( out vec4 o, vec2 u ) {
o = vec4(0); // FIXED: Initialize output to black o = vec4(0); // FIXED: Initialize output to black
for(; i < 32. && s > .001; i++) { for(; i < 32. && s > .001; i++) {
o += vec4(5,2,1,0)/max(length(u-.1), 0.001); // Clamp only extreme overflow values, let normal brightness through
vec4 term = vec4(5,2,1,0)/max(length(u-.1), 0.001);
o += min(term, vec4(100.0));
for (p += vec3(u*s,s), s = 1. + p.y, n =.01; n < 1.; n+=n) { for (p += vec3(u*s,s), s = 1. + p.y, n =.01; n < 1.; n+=n) {
s += abs(dot(sin(p.z+iTime+p / n), vec3(1))) * n*.1; s += abs(dot(sin(p.z+iTime+p / n), vec3(1))) * n*.1;
} }