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

Fake additional lights #184

Merged
merged 31 commits into from
Dec 22, 2023
Merged

Fake additional lights #184

merged 31 commits into from
Dec 22, 2023

Conversation

Delt06
Copy link
Owner

@Delt06 Delt06 commented Dec 19, 2023

Closes #180

Rendering 256 atlas of fake lights always takes 15000 cycles, for 512 - 32000, for 1024 - 93000.

No Lights Per-Pixel (Max 4) Per-Vertex (Max 4) Fake (Bilinear, 256) Fake (Bicubic, 256) Fake (Bilinear, 512) Fake (Bilinear, 1024)
Absolute (MC) 4.2 9.7 4.4 4.615 6.74 4.92 5.53
Diff (MC) 0 5.5 0.2 0.415 2.54 0.72 1.33
Relative (%) 0 100 3.6 7.5 46.2 13.1 24.2

Result: removing bicubic, resolution increase is not that slow.

MC = millions of cycles

…spot angle cos as unorm instead of snorm for more precision
@Delt06 Delt06 marked this pull request as ready for review December 22, 2023 18:25
@Delt06 Delt06 merged commit a600c8c into master Dec 22, 2023
@Delt06 Delt06 deleted the fake-additional-lights branch December 22, 2023 18:25
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.

Fake Additional Lights
1 participant