Drawing Shapes to Render Textures

Avatar
  • updated
  • Answered

Is there an online example of the render textures working to share? I have followed your super helpful article on rendering shapes to render textures, but nothing outputs to the render texture. 

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
HDRP
Avatar
meyini
  • Answered

Thanks! Turns out HDRP defaults to rendering image frames in the R11G11B10 format which does not include an alpha channel. Changed this to R16G16B16A16, and it fixed my setup. 

Avatar
Freya Holmér creator

sounds like a general rendering issue either with HDRP or how things are set up in your scene specifically! I would double check your setup, RT file format, and make sure this is supported in HDRP, and that the camera is actually in a location that would be able to see the things you are drawing