-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Closed
Labels
Description
Description
Code produced by BumpMapNode returns inverted normals.
In Blender - result is the same as with the fix

Reproduction steps
- Create a mesh using MeshPhysicalNodeMaterial
- Plug a BumpMapNode with a texture to normalNode input.
- The normals seems to be inverted
Code
The issue comes from surf_pos: positionView.negate() which shall be only surf_pos: positionView.
return perturbNormalArb({
surf_pos: positionView.negate(),
surf_norm: normalView,
dHdxy,
});Live example
None
Screenshots
No response
Version
r156
Device
No response
Browser
No response
OS
No response

