0
Fixed

Normal Direction using Perturbed when unchecked

rcalt2vt 10 years ago updated by Freya Holmér (Developer) 10 years ago 11
Hey, I'm running into an issue with a shader I originally created in 0.19 and recompiled with 0.23. I've got a normal direction node with perturbed unchecked that feeds into fresnel node. In 0.19 the normal direction was being normalized, while in 0.23 the normal direction is no longer being normalized.
Image 171
Image 170
Image 168
Image 169

Answer

Answer
Fixed
This has been fixed in Beta 0.24
Could you take a screenshot of your node tree?

(Click the camera icon that appears when hovering the 3D preview)
And it's set to normalize rather than interpolate in the settings?
Sorry, was in the process of attaching all my images. Hit submit a bit too early. I've attached the rest of the images and Normal Quality is set to Normalized under Lighting in Settings.
Looks like a bug then. Strange though, haven't had any issues with it before!
I also attached a diff of the generated shader, the line I am talking about is normalDirection, Line 111:113 in the screen shot.
I would have thought the transformation would keep the normalization, but I guess not :)
Answer
Fixed
This has been fixed in Beta 0.24
Dear god sir, you are fast at responding / fixing. Thank you for your hard work!
One more thing - was the texture marked as a normal map?
(The texture itself, not the node)
Yes, the texture was marked as a normal map
Cool, it's my fault then :)
It's fixed for the next version!