Page 1 of 1

How to use new snow effect

Posted: Wed Dec 28, 2022 11:29 pm
by coilbook
Hi,
How do we use new snow effect and why can't we use OSL texture flakes.osl for snow sparkles that was made by vray? Thanks

Re: How to use new snow effect

Posted: Wed Dec 28, 2022 11:55 pm
by coilbook
Here is the scene with old osl shader. For some reason it now requires projection and sparkle is black.

What is the difference between snow effect and flakes textures? Where can we get manuals with samples for all these new textures and features?

Can you add spark effect for the snow that sparkles through time

Re: How to use new snow effect

Posted: Fri Jan 06, 2023 3:19 am
by neonZorglub
Hi coilbook,

You didn't include the flakes.osl file, but I guess that the same that I got.

You loose the colors if you use it only in the Normal slot..
I you use it in the Diffuse slot, there's the blue-ish color .. you could change the (0,0,1) at the bottom of the script for other base color..
The snow effect makes more blurry particles, and they move with time.. as shown on the right plane.

I updated the flakes.osl to add some flickering with time: flakesWithTime.osl

Here is your updated sample scene, with the old and new osl:
flake_color_and_time.png
snow_scene04.zip
(5.02 MiB) Downloaded 107 times
I hope that helps.
Thanks

Re: How to use new snow effect

Posted: Mon Jan 09, 2023 4:53 pm
by coilbook
neonZorglub wrote:Hi coilbook,

You didn't include the flakes.osl file, but I guess that the same that I got.

You loose the colors if you use it only in the Normal slot..
I you use it in the Diffuse slot, there's the blue-ish color .. you could change the (0,0,1) at the bottom of the script for other base color..
The snow effect makes more blurry particles, and they move with time.. as shown on the right plane.

I updated the flakes.osl to add some flickering with time: flakesWithTime.osl

Here is your updated sample scene, with the old and new osl:
flake_color_and_time.png
snow_scene04.zip
I hope that helps.

Thank you. Your flake shader actually works great. Would be nice to add sparkle when some snowflakes just spark really bright here and there. Currently spark depends too much on the reflected light. Would be nice to exaggerate this effect.
Thanks