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

[examples] shaders_deferred_render example renders incorrectly #4668

Closed
4 tasks done
TadCordle opened this issue Jan 8, 2025 · 3 comments
Closed
4 tasks done

[examples] shaders_deferred_render example renders incorrectly #4668

TadCordle opened this issue Jan 8, 2025 · 3 comments

Comments

@TadCordle
Copy link

  • I tested it on latest raylib version from master branch
  • I checked there is no similar issue already reported
  • I checked the documentation on the wiki
  • My code has no errors or misuse of raylib

Issue description

The deferred render shader example no longer produces the correct result, after this commit. Reverting the commit seems to produce correct results again.

Related issue which includes some discussion/a possible solution: #4568

Environment

Windows 10, OpenGL 3.3, Geforce GTX-1080

Issue Screenshot

Current result:
image

Intended result
image

Code Example

See examples/shaders/shaders_deferred_render.c.

@veins1
Copy link
Contributor

veins1 commented Jan 10, 2025

Should be fixed by #4676

@raysan5
Copy link
Owner

raysan5 commented Jan 10, 2025

@TadCordle the example was recently reviewed by @veins1, closing issue!

@raysan5 raysan5 closed this as completed Jan 10, 2025
@TadCordle
Copy link
Author

Thanks @veins1! The ClearBackground() change seems to also fix the weirdness with my project that I mentioned in the other thread :)

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