-
Notifications
You must be signed in to change notification settings - Fork 599
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
Egon/Gluon gun beam colors are too bright #3033
Labels
Comments
nekonomicon
added a commit
to FWGS/hlsdk-portable
that referenced
this issue
Jun 5, 2021
tyabus
pushed a commit
to tyabus/hlsdk-xash3d
that referenced
this issue
Dec 30, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just like #2865 for the Gauss gun the Egon gun beam colors are too bright. The original code used values in the range [0, 255], whereas the client side effects code works with colors in the range [0, 1].
This is the code in question:
halflife/cl_dll/ev_hldm.cpp
Lines 1453 to 1469 in c7240b9
This needs to be changed to use:
This is still missing the time based modulation code, but the beam color should be much closer to its original appearance.
The text was updated successfully, but these errors were encountered: