Hi, I want to:
- Generate a RenderTexture containing a normal map made from a height map, in a compute shader.
- Use this normal map with the HDRP Lit shader
So far: I’ve run into these issues:
- The shader needs it in a weird format (DXT5 or something)
- I can’t find a way to produce the normal map in this format
- I can’t see an easy way to alter the shader to allow a normal map of a basic format
Passing in an ARGB32 makes the normals wonky, and passing in an ARGBFloat seems to crash the renderer (the whole scene turns all black)
Anyone have any ideas? Seems like something that really should be doable.