RenderTexture of a mesh produces semi transparent result

Hi all

  1. created a camera
  2. Created a solid mesh object, pointed the camera at it.
  3. Created a rendertexture
  4. Set the camera to use the rendertexture as its target path

This all works as expected but the rendertexture shows the mesh as 20% transparent for some reason.

Any ideas?

Thanks
Geoff

Check the material you are using with the render texture to be sure that its color doesn’t have alpha set below 100%.

Maybe also check the alpha of the camera’s background color…

Hi

Thanks, found that a material for one of the meshes used alpha 200. Didnt notice this in the viewport but it was very obvious when the object was used as a renderTexture.

Geoff