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

Example project Shader #6

Open
BitBarrel opened this issue Nov 21, 2023 · 1 comment
Open

Example project Shader #6

BitBarrel opened this issue Nov 21, 2023 · 1 comment

Comments

@BitBarrel
Copy link

For the example projects, it is better to use a material with this shader: Unlit->Texture. Using the standard shader for a UI or display simulation doesn't really make sense unless it is setup as an emissive shader with a reflective component.

@MarcusU
Copy link

MarcusU commented Sep 25, 2024

Yes! I had such a problem getting Rive animations to work in a simple Image within our 2D app, instead of turning it into a camera or whatever. And the "Assign the RenderTexture to the Material" step in the getting started docs is horrible. So many ways to do that apparently. But what I found that finally worked matches what you said: for the Material, set the shader to Unlit > Texture, then drag the rive RenderTexture into that little box on the Material inspection page.
Very confusing.
My animations are still reversed and backwards, and changing the "Rotation" xyz settings don't help. Sometimes the animation does not display at all with a 180 (flip it) setting.

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