Page 1 of 2
Problems using the 'No Draw" texture
Posted: Thu Jan 08, 2004 1:53 am
by Axion
I've been using no-draw to texture the undersides of a few metal walkways and vents, and now I'm encountering a weird problem. The sides that I've textured with no-draw are no showing up as completely invisible. So, now my walkways have the grate texture on top, but when you view them from underneath, there doesn't appear to be anything at all.
Does anybody know what could be causing this?
Posted: Thu Jan 08, 2004 2:14 am
by omniscient
dude, no draw is invisible, thats not a problem, thats how its supposed to be.
Posted: Thu Jan 08, 2004 2:19 am
by Axion
...
You don't understand, obviously. The bottom of the brush that is textured with no draw is making the entire brush invisible.
Posted: Thu Jan 08, 2004 2:45 am
by Axion
Let me elaborate a little more with some visual aids-
Here is a picture of a walkway from the top-
Now, here's a shot of it from the bottom-
My grate should still be visible from its underside even with no-draw as the bottom texture. It's always worked like that for me before on previous maps, and I was under the impression that you should always use no-draw on the opposite side of masked textures instead of caulk, especially if you want to be able to shoot through the structure.
I've already tried re-creating the brushes and retexturing them, so I was wondering if there is something else that could be causing the problem.
Posted: Thu Jan 08, 2004 5:24 am
by omniscient
i dont see the pics but i do better understand ur problem. sometime this happens when u vertex edit and the agnle is just a little off. aslo if the brush touches too many faces it dissapears. if u vertex edited set ur grid to one and set one verticy just a little different. if u didnt just move the brush 1 unit. if htis doesnt fix it, just forget the no draw and make it the regular texture, it wont mess up fps that much. prolly there is an easier solution, im just not that smart.
texture
Posted: Thu Jan 08, 2004 9:07 am
by tltrude
Try a different grate texture. Make the frame out of a solid metal texture that is similar to the grate texture. Put nodraw on 5 side of the grate brush.
Posted: Thu Jan 08, 2004 9:10 am
by wacko
i think it's rather the grate texture u choose. i'm not sure whether there are many different ones but this one seems to be visible from just one side. e.g. general_industrial/deckgrate_set1a should work. which texture did u choose?
Posted: Thu Jan 08, 2004 3:08 pm
by bdbodger
You need a shader that draws on both sides of the suface it is on . It must have cull none in the shader . Here is a link to a shader manual in case you want to make a custom shader at some point . A water texture is a good example of that , you see the surface even when you are underwater .
http://www.heppler.com/shader/
Re: texture
Posted: Thu Jan 08, 2004 7:29 pm
by Axion
tltrude wrote:Try a different grate texture. Make the frame out of a solid metal texture that is similar to the grate texture. Put nodraw on 5 side of the grate brush.
That was how I had everthing constructed originally. Until now, all previously compiled versions of the map looked fine. Maybe I should just remake the brushes again.
Posted: Thu Jan 08, 2004 7:31 pm
by Axion
Wacko wrote:i think it's rather the grate texture u choose. i'm not sure whether there are many different ones but this one seems to be visible from just one side. e.g. general_industrial/deckgrate_set1a should work. which texture did u choose?
The texture I was using was general_industrial/deckgrate_set1. It's always worked before.
Posted: Thu Jan 08, 2004 7:34 pm
by Axion
And thanks to both omniscient and bdodger for your replies- They were both helpful.
Posted: Thu Jan 08, 2004 8:47 pm
by Axion
Well, I have tried remaking the brushes and nothing has changed.
Hmm.
Posted: Thu Jan 08, 2004 10:12 pm
by bdbodger
Just put the grate texture on the top and bottom then put nodraw on the other 4 sides .
Posted: Thu Jan 08, 2004 10:37 pm
by Axion
Will that still allow players to be able to shoot through the grate?
Posted: Sat Jan 10, 2004 6:50 am
by bdbodger
Nodraw does not change the properties of the brush like caulk does . Caulk will make a brush solid but nodraw does not .