Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: cjwidd on 2020-01-09, 02:05:25

Title: [RESOLVED] Shader: Glitter / Sequin
Post by: cjwidd on 2020-01-09, 02:05:25
Looking for assistance with a glitter shader. I have seen some of the previous (https://forum.corona-renderer.com/index.php?topic=8603.0) attempts on the forum, and I've explored both the Corona and Siger car paint shaders, but I am not arriving at a satisfying result.

I am attempting to replicate the surface of a wall covering that contains a reflective paint layer. The visual result is a shimmer / glitter effect that is attenuated based on the viewing angle / light source.

Do we have stochastic flake or something similar in Corona?
Title: Re: Shader: Glitter / Fish Scale
Post by: GeorgeK on 2020-01-09, 07:00:58
Looking for assistance with a glitter shader. I have seen some of the previous (https://forum.corona-renderer.com/index.php?topic=8603.0) attempts on the forum, and I've explored both the Corona and Siger car paint shaders, but I am not arriving at a satisfying result.

I am attempting to replicate the surface of a wall covering that contains a reflective paint layer. The visual result is a shimmer / glitter effect that is attenuated based on the viewing angle / light source.

Do we have stochastic flake or something similar in Corona?

Do we have a real world reference picture of the material :)?
Title: Re: Shader: Glitter / Fish Scale
Post by: cjwidd on 2020-01-09, 17:37:28
I was afraid I might get asked for that. I have attached a photo for reference, although a video is probably needed to showcase the glitter effect - think of a sequin dress.

Title: Re: Shader: Glitter / Fish Scale
Post by: cjwidd on 2020-01-09, 17:38:17
Here are some tests

Title: Re: Shader: Glitter / Fish Scale
Post by: GeorgeK on 2020-01-09, 18:05:10
oh it's a hard one true, pretty solid job on the samples.
Title: Re: Shader: Glitter / Fish Scale
Post by: cjwidd on 2020-01-09, 18:13:30
Thank you :)

Yes, very challenging - although surprisingly so. I really need some stochastic flake or something like that to great non-directional glimmer.
Title: Re: Shader: Glitter / Fish Scale
Post by: cjwidd on 2020-01-10, 05:32:34
Fun fact: when developing a glitter shader, make sure 'firefly removal' is turned off 🤦‍♂️
Title: Re: Shader: Glitter / Fish Scale
Post by: GeorgeK on 2020-01-10, 07:58:13
Fun fact: when developing a glitter shader, make sure 'firefly removal' is turned off 🤦‍♂️

Yeah that could begin an entire development loop :)
Title: Re: Shader: Glitter / Sequin
Post by: cjwidd on 2020-01-10, 09:10:25
more tests...

Title: Re: [RESOLVED] Shader: Glitter / Sequin
Post by: cjwidd on 2020-01-10, 22:25:36
deliverable shader

(https://cdna.artstation.com/p/assets/images/images/023/284/580/large/christopher-widdowson-baroque-shaderball-2-2.jpg?1578691409)
Title: Re: [RESOLVED] Shader: Glitter / Sequin
Post by: romullus on 2020-01-10, 22:43:35
Looks really good!
Title: Re: [RESOLVED] Shader: Glitter / Sequin
Post by: cjwidd on 2020-01-10, 23:07:07
Thanks Romullus, I really put in some elbow grease with that one. Ended up using Substance Designer to generate some masks, and that really helped elevate the precision of the surface representation.