GZDoom Shaders (and Spectre in GZDoom)
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
-
- Posts: 78
- Joined: Tue Jul 20, 2004 7:56 pm
- Graphics Processor: nVidia with Vulkan support
GZDoom Shaders (and Spectre in GZDoom)
I was messing around with getting the hardware shaders in GZdoom to do cool stuff and I made an effect that is similar to the old style spectre.
What do you guys think is this worth working on more?
What do you guys think is this worth working on more?
- Attachments
-
glDemPk3.zip
- The Pk3 File
- (11.01 KiB) Downloaded 99 times
-
- Picture of effect
- Spectre.jpg (102.82 KiB) Viewed 1735 times
Last edited by Evil Space Tomato on Mon Dec 27, 2010 6:32 am, edited 1 time in total.
Re: Spectre in GZDoom
It's definitely odd-looking. If you think you can replicate the fuzz effect, why not?
-
- Posts: 3975
- Joined: Fri Jul 06, 2007 9:16 am
Re: Spectre in GZDoom
Certainly looks better than the existing GZDoom effect. 

Re: Spectre in GZDoom
That looks awesome! It would be more awesome if you can make it somehow warp the pixels behind it a little...
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49225
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Spectre in GZDoom
Shaders don't have access to that so no, it's not possible.
-
- Posts: 78
- Joined: Tue Jul 20, 2004 7:56 pm
- Graphics Processor: nVidia with Vulkan support
Re: Spectre in GZDoom
Yes that would be cool but I think that would require some sort of post processing, right now shaders just take the pixels on the image and change the RGBA values.Nash wrote:That looks awesome! It would be more awesome if you can make it somehow warp the pixels behind it a little...
I made 5 different versions of this shader which ones do you guys like best, or should I combine some of them?
Basic Pixelized Spectre
http://www.humenet.net/HereticAmp/glDemA.Pk3.zip
Basic Smooth Spectre
http://www.humenet.net/HereticAmp/glDemB.Pk3.zip
Swirly Smooth Spectre
http://www.humenet.net/HereticAmp/glDemC.Pk3.zip
Swirly Smooth Translucent Spectre
http://www.humenet.net/HereticAmp/glDemD.Pk3.zip
Jagged Translucent Spectre
http://www.humenet.net/HereticAmp/glDemE.Pk3.zip
Merry Xmas
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: Spectre in GZDoom
I think it looks great.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49225
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Spectre in GZDoom
Not bad. The only thing that bothers me is that adding these to the sprite is too tedious. I really should invest some time adding a better method to set hardware shaders directly in DECORATE.
Re: Spectre in GZDoom
I wonder if EDGE's fuzz emulation system could be imitated in GZDoom. It's apparently based on using a "fuzzmap" texture and, basically, giving it varying offsets and cutting the shape of the sprite in it.
-
- Posts: 78
- Joined: Tue Jul 20, 2004 7:56 pm
- Graphics Processor: nVidia with Vulkan support
Re: Spectre in GZDoom
It would be cool if code was general enough that it would allow you to apply different effects, like making all of the non transparent part show a texture or something.Gez wrote:I wonder if EDGE's fuzz emulation system could be imitated in GZDoom. It's apparently based on using a "fuzzmap" texture and, basically, giving it varying offsets and cutting the shape of the sprite in it.
If you do please allow for decorate to pass in numbers to the shader that would allow me to do some very cool stuff, even if its just one number. [like A_SetShaderValue(1.5)]Graf Zahl wrote:Not bad. The only thing that bothers me is that adding these to the sprite is too tedious. I really should invest some time adding a better method to set hardware shaders directly in DECORATE.
Also I made a spectre that can cloak and de-cloak.
http://www.humenet.net/HereticAmp/glDemF.Pk3.zip
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49225
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Spectre in GZDoom
All 5 fuzz styles will be available in the next GZDoom version. Do you want me to add some copyright to the shader code?
Re: Spectre in GZDoom
Nice to see someone actually trying a bit of modding with GZdoom shaders. These are all pretty cool. I have to say that I prefer the GZdoom (GLBoom?) shadow-like effect but these do work very nicely.
To be fair, I was never that fond of the original Spectre fuzz effect and I always thought that it was more suited to an invisibility created by a sci-fi device than some kind of demonic magical effect. Some of these new shader effects would work very well as sci-fi devices too.
To be fair, I was never that fond of the original Spectre fuzz effect and I always thought that it was more suited to an invisibility created by a sci-fi device than some kind of demonic magical effect. Some of these new shader effects would work very well as sci-fi devices too.
Re: Spectre in GZDoom
Just tried the latest SVN. The effects are awesome, but I noticed that while it does affect the player sprite (by collecting the blursphere), it doesn't affect HUD weapons. Is it not doable or am I just posting to early?Graf Zahl wrote:All 5 fuzz styles will be available in the next GZDoom version.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49225
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Spectre in GZDoom
I haven't implemented it yet in the weapon drawing code, only in the normal sprite drawer.
-
- Posts: 78
- Joined: Tue Jul 20, 2004 7:56 pm
- Graphics Processor: nVidia with Vulkan support
Re: Spectre in GZDoom
Just add "//created by Evil Space Tomato"Graf Zahl wrote:All 5 fuzz styles will be available in the next GZDoom version. Do you want me to add some copyright to the shader code?
I always saw it as kind magical maybe not demonic but it was kinda cool.Enjay wrote:To be fair, I was never that fond of the original Spectre fuzz effect and I always thought that it was more suited to an invisibility created by a sci-fi device than some kind of demonic magical effect. Some of these new shader effects would work very well as sci-fi devices too.
Also this is now a general GZDoom Shaders thread.