Skip to content

Source one shaders fixes and additions, new skin group saving method#324

Merged
REDxEYE merged 7 commits intoREDxEYE:masterfrom
hisprofile:master
Oct 26, 2024
Merged

Source one shaders fixes and additions, new skin group saving method#324
REDxEYE merged 7 commits intoREDxEYE:masterfrom
hisprofile:master

Conversation

@hisprofile
Copy link
Contributor

Better Materials

(left is new, right is old)

  • Shader Fixes/Additions
    • VertexLitGeneric
      • Received Lightwarp support (see the cel shading on Heavy's skin)
      • Better transparency and additive implementation (see the glow on Bolt Boy cosmetic)
      • Less broken paint regions (see the Bolt Boy cosmetic)
    • UnlitTwoTexture
      • Better implementation (see the sun beams and the capture point holograms)
    • Modulate shader added
      image
  • Shader General
    • Shader name and vmt parameters are stored as custom properties for materials
    • dx90 parameters are unraveled and saved into the main parameters instead

mdl porting

  • .mdl importing
    • Changed the skin group saving method to save the actual material IDs instead of their names
      • REDxEYE, I swear the only way this could be implemented was to use a pseudo-pointer for materials. Using from the buffer never worked, so I used a uuid4 string instead. It works?

UnlitTwoTexture better implementation
'modulate' shader added
save skin groups with material IDs instead of names (required uuid4 pointer, i promise
updated material swapping to support this new skin group method
VMT parameters and shaders now saved as custom properties for materials
dx90 parameters unravelled
fix content manager bug for vmt import
rename "$texture2"
@hisprofile
Copy link
Contributor Author

ready!

@REDxEYE REDxEYE self-requested a review October 14, 2024 19:20
@hisprofile
Copy link
Contributor Author

Anything you'd like me to do?

@REDxEYE REDxEYE merged commit 62f2448 into REDxEYE:master Oct 26, 2024
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