Stop rendering a shadow
by Guimo · in Torque Game Engine · 05/26/2008 (5:35 pm) · 1 replies
Hi everybody,
I'm sure this question has come out before but I cant find anything related in the forums.
I would like to stop rendering a shadow on a player object. Like:
%player.renderShadow(true); //starts rendering the shadow
%player.renderShadow(false); //stops rendering the shadow
An alternative method would be:
%player.setShadowTransparency(1); //1 makes the shadow darker
%player.setShadowTransparency(0); //0 makes shadow invisible
does anybody knows where should I check in order to implement one of those approaches?
Thank you very much!
Guimo
I'm sure this question has come out before but I cant find anything related in the forums.
I would like to stop rendering a shadow on a player object. Like:
%player.renderShadow(true); //starts rendering the shadow
%player.renderShadow(false); //stops rendering the shadow
An alternative method would be:
%player.setShadowTransparency(1); //1 makes the shadow darker
%player.setShadowTransparency(0); //0 makes shadow invisible
does anybody knows where should I check in order to implement one of those approaches?
Thank you very much!
Guimo
About the author
Torque 3D Owner Guimo
Thank you anyway for taking the time to read this.
Luck!
Guimo