Skip to content

Using a clipping plane #3042

Discussion options

You must be logged in to vote

if you do this:

#define GL_GLEXT_PROTOTYPES 1
#include <GL/glcorearb.h>

you can call GL directly, BUT you need to remember that GL is a state machine, so you might need to restore some things so raylib can continue to render...

I used this technique to let Nuklear GUI to render and still work with Raylib
https://www.youtube.com/watch?v=9aGWqa5pL1A
There is template code on my website using Nuklear (bedroomcoders.co.uk)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ShaharKlingerSSYS
Comment options

Comment options

You must be logged in to vote
1 reply
@ShaharKlingerSSYS
Comment options

Answer selected by ShaharKlingerSSYS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants