Skip to content

Conversation

@smitdylan2001
Copy link

  • Only sample texture once instead of twice
  • Only 1 clip instruction
  • Remove empty branched alpha return (not needed afaik)
  • Use half floating point (mainly for mobile devices)

tested in editor and on Quest 3

btw, the default roundness value of 40 is so big on world space UI, that the image becomes invisible. Is it maybe an idea to change the default value in OnValidate or on Reset dependant on the world size of the image?

- Only sample texture once instead of twice
- Only 1 clip instruction
- Remove empty alpha branched return (not needed afaik)
- Use half floating point (mainly for mobile devices)
@smitdylan2001
Copy link
Author

@kirevdokimov Not sure if you saw this yet. I would appreciate it if you could take the time to look through it and if it is good merge it

@kirevdokimov
Copy link
Owner

Hi @smitdylan2001, thank you for the PR! I am quite busy recently, but I will take a look and will let you know

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

Successfully merging this pull request may close these issues.

2 participants