[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Absolute Beginners guide to using shaders

Absolute Beginners guide to using shaders

Discuss the construction of maps and the tools to create maps for 3D games.

Moderator: InsideQC Admins

Absolute Beginners guide to using shaders

Postby OneManClan » Fri Feb 07, 2014 4:56 am

Last edited by OneManClan on Fri Sep 06, 2019 5:56 am, edited 22 times in total.
OneManClan
 
Posts: 247
Joined: Sat Feb 28, 2009 2:38 pm

Re: Absolute Beginners guide to using shaders

Postby gnounc » Fri Feb 07, 2014 6:48 am

Pretty good guide, I think that appears to cover it pretty well.
I know you linked some articles, but could you walk us through building a simple shader script?
You said you can link input textures, that would be useful in an example post too.
thx.
my
gnounc's
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Re: Absolute Beginners guide to using shaders

Postby Spike » Fri Feb 07, 2014 6:51 am

.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Absolute Beginners guide to using shaders

Postby Spike » Fri Feb 07, 2014 7:01 am

.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Absolute Beginners guide to using shaders

Postby ajay » Mon Jun 30, 2014 12:02 pm

Hi
trying to get a Quake 3 grass shader working in Darkplaces, did a quick forum search and came up with this thread.

Anyway, the grass isn't working, before I do more digging and tweaking, a couple of basic questions:

1) Can darkplaces use .obj models (the shader uses one as the q3map_surfaceModel)
2) Do I have to compile the map with q3map2 to get this sort of thing working?

Many thanks
User avatar
ajay
 
Posts: 559
Joined: Fri Oct 29, 2004 6:44 am
Location: Swindon, UK

Re: Absolute Beginners guide to using shaders

Postby KillPixel » Tue Jul 01, 2014 1:06 am

Nice post with nice links. Thanks, this will be handy.
User avatar
KillPixel
 
Posts: 3
Joined: Wed May 14, 2014 7:33 pm

Re: Absolute Beginners guide to using shaders

Postby Spike » Tue Jul 01, 2014 2:14 am

ajay:
1)q3map2 handles the surfacemodel stuff and inserts it into the map as trisoup or some such, the engine doesn't need to support anything but the q3bsp format. this means that everything has the correct lighting instead of looking goofy.
2) the engine doesn't have anything to do with q3map_* settings. so yes, you need to use q3map2 in order to utilise those shader settings.
q1bsp does not support trisoup, so q1 tools won't do it. the engine can't/won't randomly do it as it expects the compiler to have done any of that stuff already (and yeah, screwy lighting or really long load times...).
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Absolute Beginners guide to using shaders

Postby ajay » Sun Jul 20, 2014 2:36 pm

Cheers Spike; so it won't work like the shader for water, which is a shame. Is there a grass shader that does work with quake tools, rather than q3?
User avatar
ajay
 
Posts: 559
Joined: Fri Oct 29, 2004 6:44 am
Location: Swindon, UK

Re: Absolute Beginners guide to using shaders

Postby Spike » Sun Jul 20, 2014 4:14 pm

no. make a static entity instead.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Absolute Beginners guide to using shaders

Postby ajay » Sun Jul 20, 2014 4:59 pm

I see, thanks. Therefore... can q1 maps be compiled with q3map2 "as is" or is there much work required? I guess some entities or brush functionality would be lost. Also, static entities; do you mean sprites? Sorry for questions, ajay.
User avatar
ajay
 
Posts: 559
Joined: Fri Oct 29, 2004 6:44 am
Location: Swindon, UK

Re: Absolute Beginners guide to using shaders

Postby Spike » Sun Jul 20, 2014 5:23 pm

q1bsp cannot sanely embed arbitrary geometry.
I believe quark can convert .map formats. LIghting algorithms will be significantly different (nicer, but less quakey). I imagine you'll need to faff around with water shaders, I'm not sure of any other differences.
By static entities, I mean the makestatic builtin, where the entity is thrown at the client and doesn't stay on the server etc. any model format.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Absolute Beginners guide to using shaders

Postby Nahuel » Sun Jul 20, 2014 9:20 pm

hi, I am nahuel, I love quake and qc.
User avatar
Nahuel
 
Posts: 495
Joined: Wed Jan 12, 2011 8:42 pm
Location: mar del plata

Re: Absolute Beginners guide to using shaders

Postby ajay » Wed Jul 23, 2014 12:11 pm

Nahuel, that's really helpful. If you could post an english version of that tut, it would be great. I'm terrible (it's an age thing ;) ) in learning new stuff, once I get it, I'm fine, but anything outside of my current knowledge needs a lot of guidance ;) Thanks again.
User avatar
ajay
 
Posts: 559
Joined: Fri Oct 29, 2004 6:44 am
Location: Swindon, UK

Re: Absolute Beginners guide to using shaders

Postby Nahuel » Fri Jul 25, 2014 10:21 pm

Well, this is off topic here so i will write a quick guide to use q1 maps to compile q3bsp´s with quark in this forum!
hi, I am nahuel, I love quake and qc.
User avatar
Nahuel
 
Posts: 495
Joined: Wed Jan 12, 2011 8:42 pm
Location: mar del plata

Re: Absolute Beginners guide to using shaders

Postby ajay » Sat Jul 26, 2014 9:51 am

That's excellent, thank you very much
User avatar
ajay
 
Posts: 559
Joined: Fri Oct 29, 2004 6:44 am
Location: Swindon, UK

Next

Return to Mapping

Who is online

Users browsing this forum: No registered users and 1 guest