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

Decrease Tiled Lighting variation count #178

Closed
1 task done
Delt06 opened this issue Dec 19, 2023 · 0 comments
Closed
1 task done

Decrease Tiled Lighting variation count #178

Delt06 opened this issue Dec 19, 2023 · 0 comments
Labels
Lighting/Shadows Lighting, shadows, GI, etc. Performance
Milestone

Comments

@Delt06
Copy link
Owner

Delt06 commented Dec 19, 2023

Current setup is:

#pragma multi_compile _ _TOON_RP_ADDITIONAL_LIGHTS _TOON_RP_ADDITIONAL_LIGHTS_VERTEX
#pragma multi_compile _ _TOON_RP_TILED_LIGHTING

Since tiled lighting can only be used with per-pixel lights, try something along the lines of:

#pragma multi_compile _ _TOON_RP_TILED_LIGHTING _TOON_RP_ADDITIONAL_LIGHTS _TOON_RP_ADDITIONAL_LIGHTS_VERTEX
  • Update the shader graph too
@Delt06 Delt06 added Performance Lighting/Shadows Lighting, shadows, GI, etc. labels Dec 19, 2023
@Delt06 Delt06 modified the milestones: Wishlist, v0.9.0 Dec 19, 2023
@Delt06 Delt06 closed this as completed in 640bcad Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lighting/Shadows Lighting, shadows, GI, etc. Performance
Projects
None yet
Development

No branches or pull requests

1 participant