Sign in to follow this  
meteoritool

LensRenderingPipeline non-static grain/noise

Recommended Posts

Hi all !

Here's a little tweaked version of the LensRenderingPipeline demo :
http://www.babylonjs-playground.com/#DX6AV#43
I've raised the grain amount, I really like what it does !

But the noise/grain is static : how would you make the noise more dynamic/moving ? I'd like the result to be more "video" than "photo".

Anyone knows how to do this while keeping it simple ?

Thanks !

Share this post


Link to post
Share on other sites

Thank you for your answer !

Calling setGrainAmount() can indeed make the noise more dynamic by changing the values, but that's not exactly what I meant, the noise is still "flat".
I was wondering if there is a way to reset the "
random B&W noise Texture", when the grain texture is unset : for example, every x frame, the random B&W texture is recalculated, displaying a new random B&W noise texture. This would give a more realistic "video" noise rather than "photographic" noise.

A little bit like that :

 

Share this post


Link to post
Share on other sites

Hi all. Agreed with meteoritool. Would be fantastic to have a "time" or "z" component on the lens grain noise for added realism.

To take it a stage further, a chromatic grain (with different R/G/B noise scales) would be the icing on the cake ;) (Quite an interesting doc on grain field simulation here:  http://www.dctsystems.co.uk/Text/grain.pdf)

Cheers.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.