[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/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 - v_weapon shader not working

v_weapon shader not working

Discuss the creation of various model formats for Quake engines, and related matters to modeling.

Moderator: InsideQC Admins

v_weapon shader not working

Postby Ghost_Fang » Mon Feb 27, 2012 7:55 am

Ghost_Fang
 
Posts: 336
Joined: Thu Nov 12, 2009 4:37 am

Re: v_weapon shader not working

Postby Seven » Mon Feb 27, 2012 12:46 pm

Hello Ghost_fang,

some month ago, this was a big subject over at quakeone.com.

I made a downloadeable version of what you intend to do:
http://quakeone.com/forums/quake-mod-re ... ing-2.html
Please read the linked post and find the download a little deeper on that page.

You will find the shader + textures inside the zip file.
I hope it will help you a little bit.

There are very nice tutorial sites available for shaders.
The one at dpwiki will explain the dp-specific shaders:
http://dpwiki.slipgateconstruct.com/ind ... ion_for_DP
The one from nexuizninjaz for standard Q3 shaders (be aware that not all of them work in DP):
http://toolz.nexuizninjaz.com/shader/

Regarding your attempt to use dp_reflect on models:
This does not work at the moment in DP.
You can use dp_reflect/dp_refract on world textures just fine, but not on model textures:
Nahuel even made an amazing mirror, using dp_reflect on meshes:
http://www.youtube.com/watch%3Fv%3D8t9_ ... i9f_x68IwA

For models (just like the weapon for example) you need to use dpreflectcube shader to get the visual you want.
This shader does not reflect the real world around you. But it will give you a quite similar effect, using a cubemap.
This is a WIP clip I made:
http://www.youtube.com/watch%3Fv%3DDA5C ... ONc7gSgw3g

You will find many downloads in the above linked thread (see also post #1) with nice ideas and realization of shaders in DarkPlaces.
That thread was really fun to participate. It brought many nice things to live.
In the end, webangle made a compilation thread with a major release:
http://quakeone.com/forums/quake-mod-re ... rload.html

Have fun, playing around with shaders.
Kind regards,
Seven
Seven
 
Posts: 301
Joined: Sat Oct 06, 2007 8:49 pm
Location: Germany

Re: v_weapon shader not working

Postby leileilol » Mon Feb 27, 2012 2:01 pm

never ever ever ever ever ever ever ever ever ever ever ever ever ever use dp_reflect shaders on models
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: v_weapon shader not working

Postby Nahuel » Mon Feb 27, 2012 6:05 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: v_weapon shader not working

Postby toneddu2000 » Mon Feb 27, 2012 9:20 pm

yes, why? I also would like to know what could happen? It won't work?It has performance issues? There any chances it will be implemented?
- my first commercial game, made with FTEQW game engine
toneddu2000
 
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: v_weapon shader not working

Postby leileilol » Tue Feb 28, 2012 12:20 am

yeah and it'll double the stupid when you leave a water reflection area since suddenly the gun will stop shining
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: v_weapon shader not working

Postby Ghost_Fang » Tue Feb 28, 2012 1:27 am

Ghost_Fang
 
Posts: 336
Joined: Thu Nov 12, 2009 4:37 am

Re: v_weapon shader not working

Postby Ghost_Fang » Wed Feb 29, 2012 12:04 pm

I'll just recycle this topic for a related question: Is there a way to make the dpreflectcube change for each map? So the cubemap is accurate in relation to the map its projecting?
Ghost_Fang
 
Posts: 336
Joined: Thu Nov 12, 2009 4:37 am

Re: v_weapon shader not working

Postby Seven » Wed Feb 29, 2012 12:53 pm

Seven
 
Posts: 301
Joined: Sat Oct 06, 2007 8:49 pm
Location: Germany

Re: v_weapon shader not working

Postby Ghost_Fang » Wed Feb 29, 2012 9:42 pm

Ghost_Fang
 
Posts: 336
Joined: Thu Nov 12, 2009 4:37 am


Return to Modeling

Who is online

Users browsing this forum: No registered users and 1 guest