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

Blob Shadows: per-renderer offset multiplier and saturation #173

Closed
Delt06 opened this issue Dec 7, 2023 · 0 comments
Closed

Blob Shadows: per-renderer offset multiplier and saturation #173

Delt06 opened this issue Dec 7, 2023 · 0 comments
Labels
Enhancement Improvement over existing functionality Lighting/Shadows Lighting, shadows, GI, etc.
Milestone

Comments

@Delt06
Copy link
Owner

Delt06 commented Dec 7, 2023

Need to fit another half4 into renderer data.
Pack something as 1 byte unorms?

Old:

  • [square, baked] rotation -> unorm [0; 255]
  • [square] width -> unorm [0; 255]
  • [square] height -> unorm [0; 255]
  • [square] corner radius -> unorm [0; 255]
  • [baked] texture index -> byte [0; 255]

New:

  • [all] offset multiplier -> snorm [-128; 127]
  • [all] saturation -> unorm [0; 255]
@Delt06 Delt06 added Enhancement Improvement over existing functionality Lighting/Shadows Lighting, shadows, GI, etc. labels Dec 7, 2023
@Delt06 Delt06 added this to the v0.8.0 milestone Dec 7, 2023
@Delt06 Delt06 changed the title Blob Shadows: per-renderer offset multiplier Blob Shadows: per-renderer offset multiplier and saturation Dec 7, 2023
@Delt06 Delt06 closed this as completed in 614f55d Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Improvement over existing functionality Lighting/Shadows Lighting, shadows, GI, etc.
Projects
None yet
Development

No branches or pull requests

1 participant