Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17079

Offsetting camera position before rendering to RenderTexture

$
0
0

@zhur wrote:

Is there any way of offsetting camera position before rendering to RenderTexture?

Context: I wan't to draw shader processed shadows basing on RenderTexture with Mario-like blocks from TileLayer. For that I need to shift camera's Y coordinate slightly just before rendering the texture.

I was able to do it in 2.2.4, but no luck in 3.11.1.

Thanks for any advice!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17079

Trending Articles



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