Open rpaladin opened 1 year ago
Normal maps don't work with Forward rendering.
ERROR: D:\Blender\Projects\RP\0_Build_Files\Mine\A3D\Mobile_Test\build_A3D_Mobile_Test\compiled\Shaders\Material_mesh.frag.glsl:24: 'n' : undeclared identifier ERROR: D:\Blender\Projects\RP\0_Build_Files\Mine\A3D\Mobile_Test\build_A3D_Mobile_Test\compiled\Shaders\Material_mesh.frag.glsl:24: '' : compilation terminated ERROR: 2 compilation errors. No code generated.
Variable n defined here: https://github.com/armory3d/armory/blob/main/blender/arm/make_world.py#L121 Assignment attempts for the undefined n variable: https://github.com/armory3d/armory/blob/main/blender/arm/material/cycles.py#L402-L408
n
This should have been fixed in the latest releases, can you try and close if yes ?
TL;TR
Normal maps don't work with Forward rendering.
Node tree example
Errors
Resources
Variable
n
defined here: https://github.com/armory3d/armory/blob/main/blender/arm/make_world.py#L121 Assignment attempts for the undefinedn
variable: https://github.com/armory3d/armory/blob/main/blender/arm/material/cycles.py#L402-L408