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

Add render.setBlend to modify alpha blending for model draw calls #1590

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

adamnejm
Copy link
Collaborator

@adamnejm adamnejm commented Jan 2, 2024

No need to reset it back to the previous value, everybody just sets this back to 1 anyway.
Type checking is done by GMod, values outside of the 0-1 range don't seem to break anything.

Can do some pretty cool stuff with this (which would otherwise require much more stencil work):
image

@adamnejm adamnejm merged commit 26bbe6d into thegrb93:master Jan 3, 2024
1 check passed
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