How to disable the GUI on a second camera
Posted: Fri Feb 15, 2013 11:41 pm
Hi all,
I'm using a 3D GUI in my little project that I only want to be displayed on Camera 0. My second camera (1) shouldn't display the GUI at all as it's used as a top-down map view of the playfield.
Currently, I have:
My understanding is that the third parameter that state camera 1 will be disabled by #False in the fourth parameter, but it isn't working for me.
My work-around is to use:
which uses the first parameter to set full transparency of the GUI.
I would rather disable the GUI completely on the second camera as I expect that this would save me a few rendering cycles.
Any ideas anyone? Please?
Cheers,
G.
I'm using a 3D GUI in my little project that I only want to be displayed on Camera 0. My second camera (1) shouldn't display the GUI at all as it's used as a top-down map view of the playfield.
Currently, I have:
Code: Select all
ShowGUI(32, #False,0,#True)
ShowGUI(255, #False,1,#False)
My work-around is to use:
Code: Select all
ShowGUI(32, #False,0,#True)
ShowGUI(0, #False,1,#False)
I would rather disable the GUI completely on the second camera as I expect that this would save me a few rendering cycles.
Any ideas anyone? Please?
Cheers,
G.