Game Development Community

Quick help

by Wex · in Torque Game Engine · 08/15/2006 (9:57 am) · 2 replies

Hey, I just need to toggle backface culling off in the engine (OpenGL). I'm assuming there's a flag somewhere...

I know, slowdown, evil, nasty. It's a quick hack that I need. :)

#1
08/15/2006 (10:13 am)
Someone might have a better answer.
but maybe you can use the dglCanononical (something like that) to help control this.

and yea its a ugly brutal evil nasty hack you plan on performing, you dirty rotter...

:)

are you sure you dont want to just set this for a couple given types instead of all objects?

I'ts been a long time since I was under the hood at this portion.
but I think it is a good place to start.
#2
08/21/2006 (3:37 am)
I ended up locating GL_CULL or something such in mesh.cc during the loading of materials. I only needed it on meshes, so it suited me fine. Cheers anyway :)

Which reminds me... I need to fix that hack at some point :|