![](https://cdn.userecho.com/characters/114.png?1)
0
Fixed
Normal Direction using Perturbed when unchecked
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](/s/attachments/10417/1/167/3c5df877a209408f2ad1597e1485276a.png)
![Image 170](/s/attachments/10417/1/167/2020023560d5438d5106576024459996.png)
![Image 168](/s/attachments/10417/1/167/b4fcf3c2aef3716c23c951e6db1b382e.png)
![Image 169](/s/attachments/10417/1/167/3491d04a6e1edc0d52eac59675d538b9.png)
![Image 171](/s/attachments/10417/1/167/3c5df877a209408f2ad1597e1485276a.png)
![Image 170](/s/attachments/10417/1/167/2020023560d5438d5106576024459996.png)
![Image 168](/s/attachments/10417/1/167/b4fcf3c2aef3716c23c951e6db1b382e.png)
![Image 169](/s/attachments/10417/1/167/3491d04a6e1edc0d52eac59675d538b9.png)
Answer
![](https://cdn.userecho.com/characters/70.png?1)
0
Answer
Fixed
Freya Holmér (Developer) 10 years ago
This has been fixed in Beta 0.24
![](https://cdn.userecho.com/characters/70.png?1)
Could you take a screenshot of your node tree?
(Click the camera icon that appears when hovering the 3D preview)
(Click the camera icon that appears when hovering the 3D preview)
![](https://cdn.userecho.com/characters/70.png?1)
And it's set to normalize rather than interpolate in the settings?
![](https://cdn.userecho.com/characters/114.png?1)
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.
![](https://cdn.userecho.com/characters/70.png?1)
Looks like a bug then. Strange though, haven't had any issues with it before!
![](https://cdn.userecho.com/characters/114.png?1)
I also attached a diff of the generated shader, the line I am talking about is normalDirection, Line 111:113 in the screen shot.
![](https://cdn.userecho.com/characters/70.png?1)
I would have thought the transformation would keep the normalization, but I guess not :)
![](https://cdn.userecho.com/characters/114.png?1)
Dear god sir, you are fast at responding / fixing. Thank you for your hard work!
Customer support service by UserEcho