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

Seeking Solutions for Abnormal VAT Vertex Animation Behavior in Gamma Space #7

Open
38boss38 opened this issue May 4, 2023 · 2 comments

Comments

@38boss38
Copy link

38boss38 commented May 4, 2023

I found that the VAT vertex animation behaves abnormally under Gamma space. I tried adding GammaToLinear before inputting the vertex offset, but it didn't solve the problem. Does anyone who has encountered a similar situation have any suggestions or ideas to offer?
image
image
image

@38boss38
Copy link
Author

38boss38 commented May 4, 2023

I should also mention that I used the Unity Editor tool to convert the VAT texture to the EXR format to prevent texture compression.

@ArneBezuijen
Copy link

A bit late, but in case this is still relevant or someone else encounters it: Unity's texture importer clamps negative values when working in Gamma space. This has been a know issue for years, see for example this thread on their forums.

This doesn't affect render targets created in code, such as used by this tool, but it will once you convert the texture and import it as a regular texture like you did.

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