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

Dynamic lights with cubemaps does not apply dlight cubemap effects to models. #263

Open
pixe1reality opened this issue Jun 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pixe1reality
Copy link

pixe1reality commented Jun 26, 2024

Using dynamiclight_add as a player attached light source with a "flashlight" cubemap results in what appears to be a dynamic light illuminating models outside of the "cone" of the dynamic light.

dlight_cubemap_issue

While the QuakeC code I used for this flashlight where this effect is used is from the FreeHL project, the specific issue seems to be with dynamiclight_add with a cubemap, as using a point dynamic light at the end of a raycast on a surface does not have this issue. It isn't a model surface shader issue since this effect also appears without a Q3 shader or Nuclide material on a model.

@Xylemon Xylemon added the bug Something isn't working label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants