Re: Range of intensity in TR3 (internal lighting)

Re: Range of intensity in TR3 (internal lighting)


Replies | Reply | Tomb Raider Level Editor & Utility Discussion Forum

Posted by R.Stone on March 06, 2000 at 12:57:24:

In reply to: http://anon.free.anonymizer.com/Re: Range of intensity in TR3 (internal lighting) posted by E.Popov on March 06, 2000 at 11:11:54:

> TR1/2: fIntens = 1.0f - lpLstLighting[numvert] / 8192.0f
> TR3: fIntens = lpLstLighting[numvert] / 32767.0f

One simple way to brighten things up is to change from "/ 32767.0" (I was
using 32768.0) to "/ 16384.0" - this makes things much lighter. The lighting
is definitely 0 (darkest) to 32767 (brightest). Perhaps it's non-linear...

-R.Stone




Replies:



Reply

Name:

Email:

Subject:

Message:

Optional
Link URL:

Link Title:

Image URL:


Replies | Reply | Tomb Raider Level Editor & Utility Discussion Forum