Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with RenderTexture #44

Open
ImanCol opened this issue May 4, 2023 · 0 comments
Open

Problems with RenderTexture #44

ImanCol opened this issue May 4, 2023 · 0 comments

Comments

@ImanCol
Copy link

ImanCol commented May 4, 2023

I am projecting multiple cameras to select Characters, each Camera projects each Player and their asset has allowed me to round the edge. But it happens that some objects have transparency in their textures. This makes the background visible, so half of the character can be seen half dark.

The problem comes from here:
Blend SrcAlpha OneMinusSrcAlpha, One OneMinusSrcAlpha
This enables the rounding function, but turning it off disables renderTexture.

Is there a way to use the RoundedCorners functionality removing that blend code to avoid the transparency of the objects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant