Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Weird Lightning Problem
Thomas Offline
Frictional Games

Posts: 2,634
Threads: 184
Joined: Apr 2006
Reputation: 68
#9
Solved: 8 Years, 7 Months, 3 Weeks ago RE: Weird Lightning Problem

Oki, thanks for the nice feedback, my bet is that it is becuase of the specular and that is either due some extra sensitive thingy on your card and driver combo (had that with the tech demo) or simple bad drivers.

If you wanna be a hacker yourself the code for the specular is in:
BumpSpec_Light_fp.cg (especialy lines 28 and 29)
BumpColorSpec_Light_fp.cg (especialy lines 33 and 34)
in redist/core/programs/

try changing:

specular = pow(specular, 16) * lightColor.w * bumpVec.w;
and
specular = pow(specular, 16)* lightColor.w * spotColor.w;

to

specular = 0;

in both the files and see if that changes anything

and feel free to play around and post your results Smile
04-20-2007, 11:16 PM
Find


Messages In This Thread
Weird Lightning Problem - by Mastix - 04-20-2007, 09:19 PM



Users browsing this thread: 2 Guest(s)