Transparent brush
Moderator: InsideQC Admins
17 posts
• Page 2 of 2 • 1, 2
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
I only use it for small details though so it isn't much of a problem for my uses.
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
-

MDave - Posts: 76
- Joined: Mon Dec 17, 2007 7:08 pm
Not necessarily.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
- Spirit
- Posts: 1031
- Joined: Sat Nov 20, 2004 9:00 pm
17 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest