HELP: Fifty Shaders of Gray

HELP: Fifty Shaders of Gray

Postby cdxbow » 08 Feb 2013, 00:58

We have used some shader code from makkEs alternative health model for sauer to make the health pickup for MekArcade. Its a nice effect, glowey green and animated, and we used the code for further experiments, including explosions and other special fx. When I went to look at these models recently I found the fx no longer work. They were throwing up error unknown command:
for @vpstart, @fpstart and @fogcoord

{l Code}: {l Select All Code}
//Explosion Experiments based on code by makkE's healrh example
shader 0 crosshader [
    @vpstart
    PARAM seconds = program.env[5];

    MAD result.texcoord[0], seconds, -0.2, vertex.texcoord[0];
    MAD result.texcoord[1], seconds, { 0.9, 0.9, 0, 0 }, vertex.texcoord[0];

    MOV result.color, vertex.color;

    @fogcoord
    END
] [
    @fpstart
    OPTION ARB_fog_linear;
    TEMP dtc, diffuse;

    TEX dtc, fragment.texcoord[0], texture[0], 2D;
    MAD dtc.xy, dtc.xzxz, 0.1, fragment.texcoord[1];
    TEX diffuse, dtc, texture[0], 2D;

    MOV result.color.rgb, diffuse;
    MUL result.color.a, diffuse.a, fragment.color.a;

    END
]

md3load tris.md3
md3skin mesh skin.png masks.jpg .6 .1
md3bumpmap mesh normal.jpg
md3skin mesh misc.png
md3shader mesh  crosshader
md3alphatest mesh 0
mdlenvmap 0 0 skyboxes/clouds
mdlcullface 0
mdlspec 100

Has something changed with the shaders?
User avatar
cdxbow
 
Posts: 317
Joined: 21 Mar 2011, 23:36
Location: Melbourne, Oz

Re: HELP: Fifty Shaders of Gray

Postby ballist1c » 08 Feb 2013, 01:40

pics plz :D
Image Joseph "ballist1c" Calabria

Bloodlust // Abuse // Insidious // Longest Yard 2000
User avatar
ballist1c
 
Posts: 449
Joined: 24 Jul 2012, 02:32
Location: Connecticut (USA) [East Coast]

Re: HELP: Fifty Shaders of Gray

Postby cdxbow » 08 Feb 2013, 01:57

The insert shows before (use imagination to see them animated) and the body of the pic has how they are now.
shader_prob.png
User avatar
cdxbow
 
Posts: 317
Joined: 21 Mar 2011, 23:36
Location: Melbourne, Oz

Re: HELP: Fifty Shaders of Gray

Postby ballist1c » 08 Feb 2013, 16:13

Those are health pickups?? :?
Image Joseph "ballist1c" Calabria

Bloodlust // Abuse // Insidious // Longest Yard 2000
User avatar
ballist1c
 
Posts: 449
Joined: 24 Jul 2012, 02:32
Location: Connecticut (USA) [East Coast]

Re: HELP: Fifty Shaders of Gray

Postby Spiney » 08 Feb 2013, 18:32

Didn't know Shubby had so many young ones ... D:
Spiney
 
Posts: 14
Joined: 09 Apr 2010, 12:40

Re: HELP: Fifty Shaders of Gray

Postby cdxbow » 09 Feb 2013, 04:56

Yes it's not the health model, I didn't have a before and after of the health model, but I did have a modded shubby. For those youngsters who don't know, shubby is a real part of gaming history:
Shubby was the last boss in Quake, a visage of writhing demonic flesh set within a pool of lava. Its many minions, Shamblers and Vores, take up the arena, impeding your upwards trek to the teleporter that would have you tele-fragging the boss – the only possible way of killing her.

Shub-Niggurath is actually based on the nightmarish deity of the same name in H.P. Lovecraft’s Cthulu Mythos, first mentioned in his tale The Dunwich Horror. The deity has been referred to as “The Black Goat of the Woods with a Thousand Young.”

Image
User avatar
cdxbow
 
Posts: 317
Joined: 21 Mar 2011, 23:36
Location: Melbourne, Oz

Re: HELP: Fifty Shaders of Gray

Postby raiden » 09 Feb 2013, 10:19

Holy,... what a testing object :). I sadly can not answer your question, but the memory brings me here. The pure industrial soundtrack from Trent Reznor was great at that time and for me.
However a it's a nice thread title. Somebody knows surely more about the question?
sorn
cutec
syndicate
metalhead

ingame: .uEn|r4iden
User avatar
raiden
 
Posts: 331
Joined: 23 Jan 2012, 12:59
Location: Berlin, Germany

Re: HELP: Fifty Shaders of Gray

Postby ballist1c » 09 Feb 2013, 18:51

oh. my. gosh. How could I possibly forget that? (Quake I was released near to my birth; in the modern world, I was able to buy it on Steam for a modest fee. For a piece of gaming history, not a bad price)
Image Joseph "ballist1c" Calabria

Bloodlust // Abuse // Insidious // Longest Yard 2000
User avatar
ballist1c
 
Posts: 449
Joined: 24 Jul 2012, 02:32
Location: Connecticut (USA) [East Coast]

Re: HELP: Fifty Shaders of Gray

Postby andrewj » 10 Feb 2013, 02:13

I wonder how many non-Aussies got the "fifty shades of gray" reference / joke -- I got a chuckle out of it anyway :)
User avatar
andrewj
 
Posts: 194
Joined: 15 Dec 2009, 16:32
Location: Tasmania

Re: HELP: Fifty Shaders of Gray

Postby fawstoar » 10 Feb 2013, 02:35

andrewj {l Wrote}:I wonder how many non-Aussies got the "fifty shades of gray" reference / joke -- I got a chuckle out of it anyway :)


50 Shades is unfortunately ubiquitous. I'm in Northeast USA, for reference.
-Wasabi
Map flythroughs, RE trailers, etc: http://www.youtube.com/playlist?list=PL67578B2BCD99FB7B
User avatar
fawstoar
 
Posts: 218
Joined: 27 Mar 2011, 20:53
Location: Canada, ideally.

Re: HELP: Fifty Shaders of Gray

Postby ballist1c » 10 Feb 2013, 02:42

fawstoar {l Wrote}:50 Shades is unfortunately ubiquitous. I'm in Northeast USA, for reference.


Same.
Image Joseph "ballist1c" Calabria

Bloodlust // Abuse // Insidious // Longest Yard 2000
User avatar
ballist1c
 
Posts: 449
Joined: 24 Jul 2012, 02:32
Location: Connecticut (USA) [East Coast]

Who is online

Users browsing this forum: No registered users and 1 guest