Skip to content

Use RSF_FORCE_LIGHTMAP#3306

Merged
VReaperV merged 2 commits intofor-0.56.0/syncfrom
reaper/lightgrid-particles/sync
Mar 11, 2025
Merged

Use RSF_FORCE_LIGHTMAP#3306
VReaperV merged 2 commits intofor-0.56.0/syncfrom
reaper/lightgrid-particles/sync

Conversation

@VReaperV
Copy link
Copy Markdown
Contributor

@VReaperV VReaperV commented Jan 26, 2025

Engine-side pr: DaemonEngine/Daemon#1523

If this flag is used when registering a shader, all ST_COLORMAP stages will be changed to ST_DIFFUSEMAP. Use it for particles and trails, to make them use the lightGrid in the GLSL code.

Improves performance with particle systems and trails, e. g. with firebombs, and a massive performance improvement on map https://users.unvanquished.net/~sweet/pkg/map-jota_3.0.dpk in the outside area.

There's for the most part no difference in how the particles/trails look, the only differences are due to the GLSL lightGrid being more precise.

Also NUKED the now unused lightGrid code that involved IPC calls.

@VReaperV VReaperV force-pushed the reaper/lightgrid-particles/sync branch 2 times, most recently from 9fea016 to 9a9e5cf Compare January 31, 2025 17:17
@VReaperV VReaperV force-pushed the reaper/lightgrid-particles/sync branch from 9a9e5cf to 55b7e41 Compare February 12, 2025 20:50
If this flag is used when registering a shader, all `ST_COLORMAP` stages will be changed to `ST_DIFFUSEMAP`. Use it for particles and trails, to make them use the lightGrid in the GLSL code.

Also NUKE unused lightGrid code that involved IPC calls.
@VReaperV VReaperV force-pushed the reaper/lightgrid-particles/sync branch from 55b7e41 to 7d84afe Compare March 10, 2025 19:53
@VReaperV
Copy link
Copy Markdown
Contributor Author

Added a deprecation warning for realLight here.

@VReaperV VReaperV force-pushed the reaper/lightgrid-particles/sync branch from 7324ac2 to 1790cf1 Compare March 11, 2025 07:17
@slipher
Copy link
Copy Markdown
Contributor

slipher commented Mar 11, 2025

LGTM

@VReaperV VReaperV merged commit a0739ce into for-0.56.0/sync Mar 11, 2025
10 checks passed
@VReaperV VReaperV deleted the reaper/lightgrid-particles/sync branch March 11, 2025 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants