You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
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.
#73 (comment)
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
The text was updated successfully, but these errors were encountered: