YouGroove Posted May 10, 2014 Share Posted May 10, 2014 Ability to change if some object will receive shadows or not by code at runtime. This would allow us to fine tune when shadows display or not for some objects during gamelay : - on complex level groups , shadows on/off per sector - for custom usage tunning turn it offf/on with camera distance - for characters, only shadows for some number of characters that are the nearest to camera As shadows are heavy cost, this possibility would be a first step in optimisation direction. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
shadmar Posted May 10, 2014 Share Posted May 10, 2014 Set Cast Shadows to none in the editor under the apperance tab. or Lua: self.entity:SetShadowMode(0) CPP entity->SetShadowMode(0); Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.