Welcome, Guest.
Username: Password: Remember me

TOPIC: SmartNoise.fx - another approach for grain shaders

SmartNoise.fx - another approach for grain shaders 3 weeks 2 days ago #1

Hi guys,

I created this SmartNoise.fx Shader because i did not liked the the noise behaviour of most shaders.
Time based noise shaders, which are changing the noise pattern every
frame, are very noticeable when the "image isn't moving". [TimeBasedNoise Demo]
"Static shaders", which are never changing the noise pattern,
are very noticeable when the "image is moving". [StaticNoise Demo]
So i was searching a way to bypass those disadvantages. I used the unique position of the current
texture in combination with the color and depth to get a unique seed for the noise function.
The result is a noise pattern that is only changing when the color or depth of the position is changing.
[SmartNoise Demo]

Generally speaking noise/grain shaders can be used to add "fake details" to low res or little detailed textures and help to mask color banding.

Final Fantasy IX zoomed without SmartNoise:

Final Fantasy IX zoomed with SmartNoise:


SmartNoise.fx Code:
Warning: Spoiler! [ Click to expand ]
Last Edit: 3 weeks 2 days ago by Bapho.
The administrator has disabled public write access.
The following user(s) said Thank You: Wicked Sick, jas01, acknowledge, Tojkar, Marot, SpajdrEX