Inside3D!
     

Transparent brush
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming
View previous topic :: View next topic  
Author Message
MDave



Joined: 17 Dec 2007
Posts: 75

PostPosted: Wed Apr 16, 2008 11:39 pm    Post subject: Reply with quote

Not standard glquake, no. Darkplaces, Nehahra and a few others support it though.

I made a very simple version for glquake that simply checks if the texture is called glass, then use the neccesasry calls to turn blending on, set the blending mode, call the actual DrawGLPoly function then reset the blend modes back to normal. Works alright for me, although some times entities don't show up on other sides of the glass brush (which the brush itself is an entity something like a func_wall) unless it's made static. But then you can walk through it and shoot through it Razz I only use it for small details though so it isn't much of a problem for my uses.
Back to top
View user's profile Send private message
Spirit



Joined: 20 Nov 2004
Posts: 476

PostPosted: Thu Apr 17, 2008 7:08 am    Post subject: Reply with quote

Not necessarily.
_________________
Quake Maps
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group