Description
Materials with indirect texture get corrupted and don't display correctly or at all.
To Reproduce
Steps to reproduce the behavior:
1) Create or import a material and his shader with indirect texturing.
Expected behavior
In game, textures are displayed as if there was no indirect texturing or are not displaying correctly with 2 different results depending of the camera angle.
Some hexadecimal values defining the instruction to display the indirect texture are missing in the file after editing. Only a bunch of zero remain after 61 25 00 00 00 61 26 00 at 0x560. Trying to fix it by changing the hex values trow a error in game.
Description Materials with indirect texture get corrupted and don't display correctly or at all.
To Reproduce Steps to reproduce the behavior: 1) Create or import a material and his shader with indirect texturing.
Expected behavior In game, textures are displayed as if there was no indirect texturing or are not displaying correctly with 2 different results depending of the camera angle. Some hexadecimal values defining the instruction to display the indirect texture are missing in the file after editing. Only a bunch of zero remain after 61 25 00 00 00 61 26 00 at 0x560. Trying to fix it by changing the hex values trow a error in game.
Screenshots https://imgur.com/a/gaeHi2k
Desktop
Materials.zip