Lighting-related block variables
#3
m_SpreadLightFallOff is how much light is lost when going through that block. Its a scale of 0 - 15 where 0 is no light lost and 15 which is completely opaque. Transparent blocks are 1 not 0 though. Those that aren't in the list get the default of 15. m_SpreadLightFallOff is not used outside of the Lighting engine. Everything else uses m_Transparent which is the more simple bool value of can you see through it.
Reply
Thanks given by:


Messages In This Thread
RE: Lighting-related block variables - by xoft - 07-14-2014, 11:57 PM
RE: Lighting-related block variables - by xoft - 07-15-2014, 05:53 AM
RE: Lighting-related block variables - by tigerw - 07-16-2014, 01:09 AM
RE: Lighting-related block variables - by xoft - 07-16-2014, 04:19 AM
RE: Lighting-related block variables - by tigerw - 07-16-2014, 06:14 AM
RE: What we're doing - by LO1ZB - 07-14-2014, 09:17 PM
RE: What we're doing - by worktycho - 07-14-2014, 09:22 PM
RE: What we're doing - by AntherusCraft - 07-14-2014, 09:50 PM
RE: What we're doing - by worktycho - 07-14-2014, 09:52 PM
RE: What we're doing - by LO1ZB - 07-14-2014, 10:09 PM
RE: What we're doing - by AntherusCraft - 07-14-2014, 10:19 PM
RE: What we're doing - by xoft - 07-14-2014, 11:41 PM



Users browsing this thread: 5 Guest(s)