Black Displacements

Black Displacements

Re: Black Displacements Posted by Le Chief on Sat May 10th 2008 at 8:10am
Le Chief
2605 posts
Posted 2008-05-10 8:10am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Hey, guys.

I have a problem with my latest source map. Ever since I added lighting to the map (env_sun, shadow_controller and light_environment), the displacements have been playing up, turning black in game and only displaying properly when viewed at some angles.

User posted imageUser posted image

The left image is what it looks like in game, but viewing at some angles, you can get it to render properly (right image).

Anybody know why this is happening?

Cheers.
Aaron's Stuff
Re: Black Displacements Posted by Riven on Sat May 10th 2008 at 10:51am
Riven
1640 posts
Posted 2008-05-10 10:51am
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
My first idea is that you might be using model textures for your displacements. You can't use model textures on brushes or anything else that's not a model. You'll know if it's a model, if when looking in the texture browser, you'd see the word "model" or "prop" appear in that texture's file path.

Also, it pays if you do a little forum searching before posting: black textures
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: Black Displacements Posted by Crollo on Sat May 10th 2008 at 5:29pm
Crollo
148 posts
Posted 2008-05-10 5:29pm
Crollo
member
148 posts 15 snarkmarks Registered: May 8th 2008 Location: Canada
aaron_da_killa said:
Hey, guys.

I have a problem with my latest source map. Ever since I added lighting to the map (env_sun, shadow_controller and light_environment), the displacements have been playing up, turning black in game and only displaying properly when viewed at some angles.

User posted imageUser posted image

The left image is what it looks like in game, but viewing at some angles, you can get it to render properly (right image).

Anybody know why this is happening?

Cheers.
ah, like riven said, you can't use prop_texturename or model_texturename as the texure, as it will ignore the texture.

great map by the way :wink:
Re: Black Displacements Posted by Le Chief on Sun May 11th 2008 at 6:11am
Le Chief
2605 posts
Posted 2008-05-11 6:11am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
You know, I was doing a bit of researching up on this error, and I found a few people mention the same problem and solution, but just on a normal face (not a displacement), and I didn't think much of it for that reason. I thought it had something to do with my lighting.

But yes, that was the problem, thanks guys.
yodalman said:
great map by the way :wink:
Thanks :smile:
Aaron's Stuff