-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Update shaders_deferred_render example for GLES3 #4714
Conversation
When creating a new sphere mesh with high number of slices/rings the top and bottom parts of the generated sphere are removed. This happens because the triangles in those parts, due to high resolution, end up being very small and are removed as part of the 'par_shapes' library's optimization. Adding par_shapes_set_epsilon_degenerate_sphere(0.0); before generating the sphere mesh sets the threshold for removal of small triangles is removed and the sphere is returned to raylib correctly.
Hi Ray, |
compiles with -sFULL_ES3=1 support: |
@MikiZX1 I'm afraid I'm adding those changes, it will require a specific directory for glsl300es shaders and it won't be aligned with other examples. |
Updated shaders_deferred_render example for GLES3 with updated glsl shaders with 300 es version