Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

error CS0029: Cannot implicitly convert type 'string' to 'UnityEngine.RenderTextureFormat'

$
0
0
I am working on portals for my game and to make them seamless, I am using render textures to display the environment the player is supposed to teleport to.

The only thing that wasn't getting "carried over" to the render texture is post-processing; and to get it to work I found colour format needed, but I don't know which variable format is required to apply it to the render texture through script.

"Assets\Scripts\Player system\PortalViewAdjustment.cs(21,40): error CS0029: Cannot...​

error CS0029: Cannot implicitly convert type 'string' to 'UnityEngine.RenderTextureFormat'

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>