Q.&A. Thread

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
User avatar
Theftbot
Posts: 483
Joined: Thu Oct 08, 2009 4:03 am

Q.&A. Thread

Post by Theftbot »

I thought I would start a q&a thread for those who would like to know more from those who do!

First ?:
How do I set up a terrain texture that uses alpha mod brushes to blend from a fully visible texture to a invisible texture(empty)?
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Q.&A. Thread

Post by obsidian »

All you need is alphaGen vertex in the texture stage of the shader for the terrain and an alphaMod brush placed over select vertexes of the terrain brush.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
User avatar
Eraser
Posts: 19177
Joined: Fri Dec 01, 2000 8:00 am

Re: Q.&A. Thread

Post by Eraser »

Okay I have a question. How does the "move into entity" function work in GtkRadiant 1.4? It sounds like you can use that to add a brush to an entity, but I'm not sure if that's what it does and if it does, how exactly does it work?
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Q.&A. Thread

Post by obsidian »

You can group a brush to a previously made entity by selecting both and then choosing "move into entity".
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
User avatar
Theftbot
Posts: 483
Joined: Thu Oct 08, 2009 4:03 am

Re: Q.&A. Thread

Post by Theftbot »

Is there a way to use a seperate texture as a alpha channel in a shader w/o the cutout adding brightness to geometry behind?
cityy
Posts: 1020
Joined: Mon Aug 10, 2009 8:23 am

Re: Q.&A. Thread

Post by cityy »

Should rename the thread to "Ask Obsidian". I like.

@Theftbot, have you read sock's great article about alpha blending?
www.ferdinandlist.de/leveldesign
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Q.&A. Thread

Post by obsidian »

You can use a texture's alpha channel for depth testing and then make it invisible in a number of ways, alphaGen const 0, for example.

Note: As with every multi-staged shader, each additional stage multiplies an extra rendering pass.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Q.&A. Thread

Post by obsidian »

Also, a Q&A thread seems redundant for a forum since just about every single thread is a Q&A... just saying...
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
fKd
Posts: 2478
Joined: Sat Jun 03, 2006 2:54 am
Location: Wellington
Contact:

Re: Q.&A. Thread

Post by fKd »

this is like a new tv show, q&a with your friend obsidian. todays guests include, theftbot, cityy and eraser. :olo:
User avatar
GONNAFISTYA
Posts: 13369
Joined: Sun Jan 23, 2005 8:20 pm

Re: Q.&A. Thread

Post by GONNAFISTYA »

And the show will segway into commercials showing all the times I ruthlessly tk'd obsidian in ETQW.
fKd
Posts: 2478
Joined: Sat Jun 03, 2006 2:54 am
Location: Wellington
Contact:

Re: Q.&A. Thread

Post by fKd »

:olo:
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Q.&A. Thread

Post by obsidian »

I started playing ETQW again, I'm still pretty awesome.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
fKd
Posts: 2478
Joined: Sat Jun 03, 2006 2:54 am
Location: Wellington
Contact:

Re: Q.&A. Thread

Post by fKd »

loved the beta, but for some reason over here the retail version never picked up. sucks, but shit. the w:et server still cranks.
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Q.&A. Thread

Post by obsidian »

That's because GONNAFISTYA made them all ragequit.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Post Reply