• Inverting render.DrawSphere()
    4 replies, posted
Is there a way to invert render.DrawSphere() so that it draws while the player is within the sphere?
completely untested but according to a quick google, set the radius to a negative value
render.CullMode(MATERIAL_CULLMODE_CW) render.DrawSphere() render.CullMode(MATERIAL_CULLMODE_CCW) Doing something like this should work.
Thanks, I'll try it out.
From the wiki page:  number radius Radius of the sphere. Negative radius will make the sphere render inwards rather than outwards. No need to change the cullmode
Sorry, you need to Log In to post a reply to this thread.