cassius Posted April 22, 2014 Posted April 22, 2014 I can't find SetShadowMode in command ref. Is it still valid in 3.1 ( in c++ )? Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++
tjheldna Posted April 22, 2014 Posted April 22, 2014 Yes it is..... entity->SetShadowMode(Light::Dynamic); 0 = no shadow Light::Dynamic Light::Static Light::Buffered Quote
cassius Posted April 22, 2014 Author Posted April 22, 2014 Thanks. it only seems to work when placed in main loop.Is that correct? Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++
gamecreator Posted April 22, 2014 Posted April 22, 2014 Should work any time after you load the entity. Quote
cassius Posted April 22, 2014 Author Posted April 22, 2014 Yes. You are right. Strange I got errors when I placed it above main loop before. Now its acceping it. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++
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.