correct references to gradient noise
in four shaders a function that implements gradient noise was labeled as value noise and linked to IQ's value noise example on shadertoy. this pr labels that function as gradient noise and instead links to IQ's gradient noise example on shadertoy.
This commit is contained in:
parent
9a71d42062
commit
e58dec55ee
|
|
@ -12,8 +12,8 @@ vec2 random2(vec2 st){
|
|||
return -1.0 + 2.0*fract(sin(st)*43758.5453123);
|
||||
}
|
||||
|
||||
// Value Noise by Inigo Quilez - iq/2013
|
||||
// https://www.shadertoy.com/view/lsf3WH
|
||||
// Gradient Noise by Inigo Quilez - iq/2013
|
||||
// https://www.shadertoy.com/view/XdXGW8
|
||||
float noise(vec2 st) {
|
||||
vec2 i = floor(st);
|
||||
vec2 f = fract(st);
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ vec2 random2(vec2 st){
|
|||
return -1.0 + 2.0*fract(sin(st)*43758.5453123);
|
||||
}
|
||||
|
||||
// Value Noise by Inigo Quilez - iq/2013
|
||||
// https://www.shadertoy.com/view/lsf3WH
|
||||
// Gradient Noise by Inigo Quilez - iq/2013
|
||||
// https://www.shadertoy.com/view/XdXGW8
|
||||
float noise(vec2 st) {
|
||||
vec2 i = floor(st);
|
||||
vec2 f = fract(st);
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ vec2 random2(vec2 st){
|
|||
return -1.0 + 2.0*fract(sin(st)*43758.5453123);
|
||||
}
|
||||
|
||||
// Value Noise by Inigo Quilez - iq/2013
|
||||
// https://www.shadertoy.com/view/lsf3WH
|
||||
// Gradient Noise by Inigo Quilez - iq/2013
|
||||
// https://www.shadertoy.com/view/XdXGW8
|
||||
float noise(vec2 st) {
|
||||
vec2 i = floor(st);
|
||||
vec2 f = fract(st);
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ vec2 random2(vec2 st){
|
|||
return -1.0 + 2.0*fract(sin(st)*43758.5453123);
|
||||
}
|
||||
|
||||
// Value Noise by Inigo Quilez - iq/2013
|
||||
// https://www.shadertoy.com/view/lsf3WH
|
||||
// Gradient Noise by Inigo Quilez - iq/2013
|
||||
// https://www.shadertoy.com/view/XdXGW8
|
||||
float noise(vec2 st) {
|
||||
vec2 i = floor(st);
|
||||
vec2 f = fract(st);
|
||||
|
|
|
|||
Loading…
Reference in New Issue