asdasd
This commit is contained in:
parent
04c39a4438
commit
a8feba40a0
|
@ -133,7 +133,7 @@ void main()
|
|||
{
|
||||
const float seed = fract(time);
|
||||
|
||||
vec3 value = vec3(gold_noise(coords.xy, seed + 0.2));
|
||||
vec3 value = vec3(gold_noise(gl_FragCoord.xy, seed + 0.2)) * targetNits;
|
||||
|
||||
outColor = vec4(nitsToPq(value), 1.0);
|
||||
}
|
||||
|
@ -141,7 +141,10 @@ void main()
|
|||
{
|
||||
const float seed = fract(time);
|
||||
|
||||
vec3 value = vec3(gold_noise(coords.xy, seed + 0.1), gold_noise(coords.xy, seed + 0.2), gold_noise(coords.xy, seed + 0.2));
|
||||
vec3 value = vec3(
|
||||
gold_noise(gl_FragCoord.xy, seed + 0.1),
|
||||
gold_noise(gl_FragCoord.xy, seed + 0.2),
|
||||
gold_noise(gl_FragCoord.xy, seed + 0.2)) * targetNits;
|
||||
|
||||
outColor = vec4(nitsToPq(value), 1.0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue