Skip to content

Fix $detailblendfactor being ignored by UnlitGeneric - #2018

Open
kusabana wants to merge 1 commit into
ValveSoftware:masterfrom
kusabana:kusabana/detailblendfactor-fix
Open

Fix $detailblendfactor being ignored by UnlitGeneric#2018
kusabana wants to merge 1 commit into
ValveSoftware:masterfrom
kusabana:kusabana/detailblendfactor-fix

Conversation

@kusabana

@kusabana kusabana commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Description

$selfillumtint and $detailblendfactor are packed into the same constant, and $detailblendfactor write was being skipped in UnlitGeneric because $selfillumtint is set to -1.

The fix is identical to the one in the linked issue, as it's the most straight forward approach and matches other similar fixes in the same file.

Fixes #1975

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.

$detailblendfactor is not respected by UnlitGeneric material shader

1 participant