All Content
Blogs
Forums
News
Tutorials
Log In
Sign Up
Login
Username / Email
Password
Remember me
Forgot password?
Login
or
Don't have a GameDev.net account?
Sign up
Forgot your password?
Email Address
Reset Password
Please contact us if you have any trouble resetting your password.
Home
Blogs
Forums
News
Portfolios
Projects
Tutorials
29
users logged in
New?
Learn about game development
.
Before posting, review our
community guidelines
.
Follow Us
Chat in the
GameDev.net Discord!
Mastodon
Back to Graphics and GPU Programming
SetRenderState(ClipPlaneEnable) - what value?
Graphics and GPU Programming
Programming
Started by
Mathy
July 20, 2010 06:22 PM
0
comments, last by
Demirug
13 years, 9 months ago
Mathy
104
Author
July 20, 2010 06:22 PM
I can't figure out if I am passing the correct ClipPlaneEnable value in SlimDX.
I am using the code:
SetRenderState(RenderState.ClipPlaneEnable, 1 >> HighestClipPlaneIndex);
Is that correct?
Cancel
Save
Advertisement
Demirug
884
July 21, 2010 10:57 AM
It’s a bit mask where each bit stand for a clip plane. You need to binary or each plane you want to activate.
Cancel
Save
This topic is closed to new replies.
Advertisement
Popular Topics
The promise of freedom in story games
Game Design and Theory
Facebook Ads for sales on steam, does it work?
Games Business and Law
New Generated Constructor & JIT Issue
AngelCode
Inheriting from application registered class
AngelCode
Advertisement
Recommended Tutorials
Am I In the Wrong Degree Program?
Career Development
Advanced raycasting techniques
Graphics and GPU Programming
BVH File Loading and Displaying
General and Gameplay Programming
Multilayer Feedforward Networks and the Backpropagation Algorithm
Artificial Intelligence
Interview with Eric Christensen, Senior Programmer
Interviews
Reticulating splines
About GameDev.net
Community Guidelines
Terms of Service
Privacy Policy
Contact Us
Copyright (c) 1999-2024 GameDev.net, LLC
Back to Top