crest icon indicating copy to clipboard operation
crest copied to clipboard

Expose occlusion value for underwater or backfaces

Open dkyeck opened this issue 4 years ago • 2 comments

right now occlusion is set to 0.0 if rendering back faces which kills all reflections when underwater - although we should have "total inner reflections" here. we simply hacked "CrestNodeOcclusion" and set occlusion to 0.45 when underwater but this also reveals ambient diffuse lighting as well. so being able to control backface specular reflection and ambient lighting from the material inspector would be nice.

dkyeck avatar Jan 20 '21 19:01 dkyeck

Thanks for opening. Apologies for the belated reply.

So you want underwater (back face) specific properties for occlusion, specular reflection and ambient lighting? Would ambient lighting be a multiplier, vector or colour?

magenta404 avatar Feb 19 '21 02:02 magenta404

right now occlusion is set to 0.0. so to start it would be just fine to be able to specify the occlusion value. so a float :)

dkyeck avatar Feb 19 '21 18:02 dkyeck