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

rendermode and rendercolor #2072

Open
GLoOoccK opened this issue Mar 6, 2025 · 4 comments
Open

rendermode and rendercolor #2072

GLoOoccK opened this issue Mar 6, 2025 · 4 comments

Comments

@GLoOoccK
Copy link

GLoOoccK commented Mar 6, 2025

Hi, i'm not sure if it's a problem with the engine or the client.

https://github.com/FWGS/xash3d-fwgs/actions/runs/13695571141
artifact-win32-i386

https://github.com/Velaron/cs16-client/actions/runs/13661313340
Windows-x86

set_entvar(id, var_rendermode, kRenderTransAdd);
set_entvar(id, var_renderamt, 5.0);
set_entvar(id, var_rendercolor, Float:{ 0.0, 0.0, 0.0 });
set_entvar(id, var_renderfx, kRenderFxGlowShell);

At the moment:

Image

Expected (invisible):

Image

@SNMetamorph
Copy link
Member

How does this looks in GoldSrc?

@GLoOoccK
Copy link
Author

GLoOoccK commented Mar 6, 2025

Same as the second image.

@SNMetamorph
Copy link
Member

This looks like renderer bug, glowshell should be also affected with renderamt

@a1batross
Copy link
Member

It seems that with kRenderTransAdd GoldSrc has some weirdly broken glowshell, where it's untextured :

Image

Meanwhile, Xash properly handles that case and draws glowshell texture correctly:

Image

The test map is https://twhl.info/vault/view/6933 and the save file: test.sav.gz

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

No branches or pull requests

3 participants