Broken Lighting + Pink Squares In Reflections

butter_milch

L1: Registered
Feb 13, 2011
16
0
After compiling and starting the map I'm working on I get the reflection of pink squares on water and glass plus the rocks I use in the map recieve different lighting although their lighting values are all the same.

Here are two screens of the bugs + a console screen:

1. the rock on the left is much darker than the rest: http://saved.im/mtgwnjazbnq1/tf2mpbg1.jpg

2. pink squares reflected on glass: http://saved.im/mtgwnja0c293/tf2mpbg2.jpg

3. console with various error messages: http://saved.im/mtgwnja1zwl1/tf2mpbg3.jpg

Also, it happens with all compiling methods, fast and final. I don't know what to do, Google couldn't help me.
 

Steff0o

L6: Sharp Member
May 31, 2009
295
132

Another Bad Pun

In the shadows, he saw four eyes lit by fire
aa
Jan 15, 2011
801
1,845
To fix the pink checker board squares, you need to add some env_cubemaps.
Once you put them in the level, (one in about every room,) compile your map. It will look the same, but to get the refelctions right you need to go to the develepor console and type in these commands in order.

mat_specular 0
buildcubemaps
mat_specular 1
disconnect
sv_cheats 1
mat_reloadallmaterials
sv_cheats 0

Restart the game, load your map, and it will work.

The dark rock which is strangely darker than the rest can be fixed using this tutorial by Youme: http://www.nodraw.net/2010/12/lighting-compile-options/
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
Don't worry about the console errors; they're skybox- and cubemap-related, and the ones about SOLID_VPHYSICS can be fixed by making those props nonsolid.