![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | indiejames |
I am trying to change the material on an imported FBX file to a ShaderMaterial so I can add effects to it at runtime. This is the approach I have tried so far:
- Open the imported file and select ‘New Inherited’ when it warns about opening it
- Save the inherited file under a different name
- Select the MeshInstance and then click on the dropdown menu next to the Material entry and select ‘ConvertToShaderMaterial’
- Select ‘Edit’ from the material dropdown menu
- Select ‘Edit’ again for the material after it opens
- Edit the shader code and save it.
At this point I see the mesh in the window rendered correctly, but when I add the scene to my main scene and run the game the model uses the original material.