Hello
Guest
Register
Login
1 Hour
1 Day
1 Week
1 Month
Forever
LWJGL 3.3.2 released
Menu
Home
Help
Search
Login
Register
go
LWJGL Forum
Programming
OpenGL
Remove back half?
« previous
next »
Print
Pages: [
1
]
Remove back half?
2 Replies
3638 Views
matanui159
30
KABOOM
Remove back half?
«
on:
May 16, 2014, 03:26:55 »
I notice in some games (like Garry's mod) that when you go inside a model and look at the back of the material you don't see anything. You just look straight through it?
Can you do this in opengl? Will it speed it up? How do I do it?
Thx in advance.
Logged
ALGORITHM
A word used by programmers when they do not want to explain what they did.
WEE
Cornix
488
Re: Remove back half?
«
Reply #1 on:
May 16, 2014, 06:13:19 »
This is called "culling", you can cull either the backface, the frontface, both or neither.
Google for the apropriate gl functions.
Logged
quew8
569
Because Square Eyes Look More Real
Re: Remove back half?
«
Reply #2 on:
May 17, 2014, 18:00:01 »
And yes, it will speed it up.
Logged
Print
Pages: [
1
]
« previous
next »