Skip to content

ignore all baked vertex color lighting feature#99

Closed
watbulb wants to merge 1 commit intoNVIDIAGameWorks:mainfrom
draw-call:ignore-baked-lighting
Closed

ignore all baked vertex color lighting feature#99
watbulb wants to merge 1 commit intoNVIDIAGameWorks:mainfrom
draw-call:ignore-baked-lighting

Conversation

@watbulb
Copy link
Contributor

@watbulb watbulb commented Jun 8, 2025

This change/feature allows all baked lighting to be ignored during the processVertices step, with a toggle-able option in the ImGui vertex options to control the feature, and optionally serialize it into the rtx.conf.

This feature is immensely useful for games that use baked lighting on textures, but inconsistently. The alternative would be to manually mark all these textures to ignore their baked lighting, but in games I am currently working with, this would require manual selection of thousands of textures, which is not going to happen. I believe this feature should help other projects and games that face similar challenges.

@watbulb
Copy link
Contributor Author

watbulb commented Jun 8, 2025

If you agree with the change, we can add the docs to RtxOptions.md. Just let me know.

@NVIDIAGameWorks NVIDIAGameWorks deleted a comment from bxs3514 Jun 10, 2025
@xbei-nv
Copy link
Collaborator

xbei-nv commented Jun 10, 2025

Yes, please update RtxOptions.md, you just need to add DXVK_DOCUMENTATION_WRITE_RTX_OPTIONS_MD=1 when you run test

@xbei-nv xbei-nv self-requested a review June 10, 2025 18:23
@xbei-nv
Copy link
Collaborator

xbei-nv commented Jun 10, 2025

Hi @watbulb, you change has been merged internally. Should be shown on GitHub when some tests finish.

@xbei-nv xbei-nv closed this Jun 10, 2025
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