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 · 2 comments
Open

Problems with RenderTexture #44

ImanCol opened this issue May 4, 2023 · 2 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?

@Jepplen
Copy link

Jepplen commented Sep 3, 2024

I believe I added that in #36
You could try reverting it and see if it helps your use case.

@ImanCol
Copy link
Author

ImanCol commented Sep 3, 2024

I'm not sure what the problem was at the moment, but I think I used it for this menu. As far as I remember, although I managed to round the edges, it didn't work well when using rendertexture . I'll check to see what was happening in the next few days.

https://youtu.be/F9ApikBjt_I?si=iKIyLZxymt0pAsiI

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

2 participants