GLTFUtility
GLTFUtility copied to clipboard
override Shaders, and HDRP Shader
How can I override the shaders used in the model with the import settings?
ImportSettings importSettings = new ImportSettings(); ShaderSettings shaderSettings = new ShaderSettings();
//But inside the shadersettings we can't define the shader to override. only read. shaderSettings.Metallic = ShaderToOver; importSettings.shaderOverrides = shaderSettings; createdObject = Importer.LoadFromBytes(b3dm.GlbData, importSettings);
The URP shader that you have it works in HDRP.
https://github.com/Siccity/GLTFUtility/issues/73#issuecomment-1065806562
Maybe you can add the HDRP folder and the shader to the project so when we load from git it won't get pink all the time