Skip to content

Repeat shader visitor passes discard parallax

Reported by Sophie<3~. The following file adds a trapped door to Seyda Neen (near COC destination) that uses textures with parallax.

doortest.tar.gz

When you activate the door, the activated trap adds magic glow to the door. That magic glow requires the shader visitor to process the door again. However, parallax flag is only set based on the file name suffix when the normal map is first attached by normal map autodetection logic and this information is not directly preserved in the scene graph (other than the file name still containing the suffix). This means that parallax will be disabled and will lead to the UV visibly shifting on the door.

The same problem would affect any enchanted item or any other object trying to cast a spell.

Edited by Alexei Kotov