Jump to content

Increaes Doom3 performance by up to 40%

Guest zerodamage

Recommended Posts

Guest zerodamage
Guest zerodamage
Guest zerodamage

A few people are getting artifacts in some places. This is a quoted idea from Humus as to how to fix this:



Senior Member

Senior Member



Joined: 06 Feb 2002

Posts: 2721

Location: Toronto, Canada


PostPosted: Sun Aug 08, 2004 7:04 am    Post subject:  Reply with quote

kyleb wrote:

nasty bright white areas with humus' code:




but looks good without:





Have you tried changing the specular exponent to something lower. I'm just shooting from the hip here and chose 16 without any particular motivation except that's what I'm usually using in my own code. But it could very well be that the specular exponents in Doom3 generally are lower than that to avoid too nasty specular artifacts. See if the problem remains if you lower it to for instance 12 or 8.


Like this instead:

PARAM specExp = { 8, 0, 0, 0 };

Edited by zerodamage
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...