0 votes

Hello everybody,

I would like to make a rendering in two different parts of my scene as shown in the following tree :

|ColorRect -> combine of the viewports
|------|Character (Control)
|------------|Viewport
|-----------------|TilemapA
|-----------------|Sprite
|------------------------|Camera2D
|------|Control2
|------------|Viewport
|----------------- |TilemapB

The aim is following the character with a camera2D walking inside the tilemapA. In the same time, I want to render a specific sub part of the scene, the tilemapB, in another viewport. It's because I want to apply circular transparency around the player for the elements of the tilemapB over the character.

But it doesn't work... Do you have a setup to make it in a good way?

Thank you for your help!

in Engine by (16 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.