FIXED 31378 Material 'shader output' bug

When using ‘output shader’ from a Phong / PBR material, if the ‘normal map’ texture is being used the resulting shader throws an error.

output_shader_normal_bug.toe (7.6 KB)

Thank you for the report Daniel, this is a known issue and will be fixed in the next release, T should be auto declared on the Attributes page but is not currently, you can fix the shader error by declaring it as a vec4, see screenshot

MissingT

(For reference, first paragraph here POPs and Writing GLSL )

1 Like

Will be fixed in builds 2023.31453+

1 Like