-
clipping planes
Hi all.
I just transformed my mirror reflections to glsl, but my clipping planes are not working any more. How do you clip planes in glsl?
I have :
glEnable(GL_CLIP_PLANE0);
double eqr[]={plane[0],plane[1],plane[2],plane[3]}
glClipPlane(GL_CLIP_PLANE0,eqr);
change_shader();
render_scene();
What should I write to my vertex part to clip my scene by plane?
Thx for answers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules