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 PushFlashlightMode or RenderFlashlights for manually drawable entities #1963

Open
ZH-Hristov opened this issue Jan 8, 2025 · 1 comment
Labels

Comments

@ZH-Hristov
Copy link
Contributor

Required for flashlight/projectedTexture lighting on meshes and on entities that are manually drawn (e.g. holos) but also have setNoDraw set to true.

PushFlashlightMode is easy enough to add but it's deprecated and who knows if it might get removed.

@ZH-Hristov
Copy link
Contributor Author

ZH-Hristov commented Jan 18, 2025

If an error occurs while a flashlight mode is pushed it can break the rendering of everything if it's not popped, which I assume is why the Push/Pop functions are deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants