Skip to content

Fix 3D primitives disappearing #3264

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

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

tederis
Copy link
Member

@tederis tederis commented Dec 7, 2023

Fixes a problem with 3D primitives disappearing rendered with dxDrawMaterialPrimitive3D and dxDrawPrimitive3D functions. Inspired by the Ben's report in Discord dev server with attached video: https://youtu.be/5FZ8SPW8nJA?si=NzLazkxqmHcMPk7u. It also fixes #1204.

Steps to reproduce the bug:

  1. Enable shadows
  2. Draw a triangle via dxDrawMaterialPrimitive3D at Verdant Meadows Airfield
  3. Set 12:00
  4. Move the camera until you get the bug

@TheNormalnij TheNormalnij added the bug Something isn't working label Dec 7, 2023
@TheNormalnij TheNormalnij added this to the 1.6.1 milestone Dec 7, 2023
@TheNormalnij TheNormalnij merged commit 04a1e2b into multitheftauto:master Dec 7, 2023
MTABot pushed a commit that referenced this pull request Dec 7, 2023
@Xenius97
Copy link
Contributor

Xenius97 commented Dec 7, 2023

Fixes #2334 ?

@StrixG StrixG added bugfix Solution to a bug of any kind and removed bug Something isn't working labels Dec 21, 2023
@tederis tederis deleted the fix_dx_primitives branch January 10, 2025 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Solution to a bug of any kind
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rendering issues in dxDrawPrimitive3D and dxDrawMaterialPrimitive3D
4 participants