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

(macOS) Half-Life 2 flashlight/shadows bug, possibly due to OpenGL Renderer issues on Apple Silicon machines. #251

Open
Norbi095 opened this issue May 10, 2023 · 2 comments

Comments

@Norbi095
Copy link

Tested on my M1 MacBook Air,
-Half Life 2
-Half Life 2 Episode One
-Half Life 2 Episode Two
all have a flashlight, and a shadow-casting bug, rendering them incorrectly as shown in the picture.

HL2flashlightmacOS
@Ben10164
Copy link

Another reason it might be because of OpenGL is that when you use the console and do r_newflashlight 0, reverting the light to HL1 style, it works. But the HL1 style flashlight doesn't use dynamic lighting.

image
r_newflashlight 0
image
r_newflashlight 1

@schm1dtxbox
Copy link

schm1dtxbox commented May 31, 2024

A better hack than using the awful HL1 flashlight may be to forcibly disable Pixel Shader 2.0b support using the launch option -nops2b, forcing the game to revert to using Pixel Shader 2.0 base instead. You lose a few graphical effects introduced to HL2 post-launch like phong and whatnot (and possibly other stuff that got added with the Orange Box update), but the modern flashlight ends up exhibiting graphical corruption far less often as a result.

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