set normal map texture to HDRP/Lit Material
the normalmap of the model is downloading on server. i dont have a chance to convert it's texture type to "NormalMap".
in unity3D it works on StandartShader. but when i try to do the same thing on HD.it doesnt work right. when i set the normal map to HDRP/Lit material's normalMap slot , unity doesnt convert it to Normal Map.
Texture2D normalTexture = new Texture2D(source.width, source.height, TextureFormat.DXT5Crunched, true, false);
mat.SetTexture("_BaseColorMap", MainTexture);
mat.SetTexture("_NormalMap", NormalTexture);
Comment
Your answer
Follow this Question
Related Questions
Can I do this in Unity without importing textures? 1 Answer
Urp and AR foundation material problem on iOS 0 Answers
How to fix: SpeedTree Leaves and Bark using same material. 1 Answer
Putting material on one thing puts it on all the things... 0 Answers
Why some of my textures / materials are rotated 90°? 0 Answers