glass and water
- Amaruve
- Posts: 247
- Joined: Tue Feb 19, 2008 12:48 pm
glass and water
when if you were to make a cube with a water texture on all sides but the bottom, nodraw on the bottom and have it sit on the floor it'd like right from the top but the sides would not only have no texture but you could see right through the floor when looking through it. a likely example of this is an aquarium where water is surrounded by glass looking in the aquarium you will see sky (or in the absence of a skybox, the hall of mirrors effect) does anyone know how to correct this with out avoiding the scenario all together?
- J0eFr0
- Posts: 448
- Joined: Fri Jan 28, 2005 12:32 am
- Contact:
Re: glass and water
make only the outside faces of the glass the glass texture and everything else the nodraw, and same with the water, just the top water texture and everything else nodraw.
just a guess it makes sense in my head.
just a guess it makes sense in my head.
-
- Posts: 1082
- Joined: Fri Jun 29, 2007 12:37 am
- Location: Seattle area
- reaper4172
- Posts: 279
- Joined: Mon Aug 06, 2007 1:31 am
- Location: Minnesota, US
- Contact:
Re: glass and water
i am not a mapper for hl2 mods, but if its the same as hl1 or if you're talking about hl1.. all you need to is use a water texture and make the solid like any other but not an entity. water textures have a ! prefix in front of it. when you make the water an entity thats when the faces except the top one render transparent. if that is what you are talking about anyway.
<1.6 mapper>
reaper
reaper
- Amaruve
- Posts: 247
- Joined: Tue Feb 19, 2008 12:48 pm
Re: glass and water
yep, HL1 mapping was so nice like that. but no source water is significantly more complicated.
- reaper4172
- Posts: 279
- Joined: Mon Aug 06, 2007 1:31 am
- Location: Minnesota, US
- Contact:
Re: glass and water
oh i see lol well well glad i clarified that i was basing my statement off hl1 then
<1.6 mapper>
reaper
reaper