Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, Baklazhan, Ayumi, Hanky27), 1,387 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
NPR Shader Conversion #22890
02/05/04 04:27
02/05/04 04:27
Joined: Oct 2003
Posts: 151
Watseka, Illinois
M3PHiSTOPH3L3S Offline OP
Member
M3PHiSTOPH3L3S  Offline OP
Member

Joined: Oct 2003
Posts: 151
Watseka, Illinois
Hello again. I've converted the RenderMonkey NPR Shader for use with A6 vs11 and ps14. I havent released a screenshot for it yet, but that is only because the tests I used it on did not look very good. It seems as though something needs to be changed, but its working. The shader uses no skins. Just add it and assign NPR to a model. BTW I would love to see if someone could show a cool example of this. Anyways you can find the Shader at the bottom of my page.

M3PHiSTO


"you give me the reason, you give me control, i gave you my purity, my purity you stole, did you think i wouldn't recognize this compromise? am i just too stupid to realize?" - Trent Reznor (NiN) Yahoo Messager ID: SHATT3R3DFA1TH
Re: NPR Shader Conversion [Re: M3PHiSTOPH3L3S] #22891
02/05/04 04:59
02/05/04 04:59
Joined: May 2002
Posts: 2,541
Berlin
EX Citer Offline
Expert
EX Citer  Offline
Expert

Joined: May 2002
Posts: 2,541
Berlin
Hi, what meaqns NPR? And how will/shall it look like?
MfG EX


:L
Re: NPR Shader Conversion [Re: EX Citer] #22892
02/05/04 05:33
02/05/04 05:33
Joined: Jan 2002
Posts: 1,276
trapped in a paper bag
Drew Offline
Serious User
Drew  Offline
Serious User

Joined: Jan 2002
Posts: 1,276
trapped in a paper bag
NPR- Non Photorealistic Rendering.

TOON SHADER!!!

Thank you!


Drew Medina
Game Developer (Artist)
Personal & professional website
Deviant Art
My Blogspot
Re: NPR Shader Conversion [Re: Drew] #22893
02/05/04 05:52
02/05/04 05:52
Joined: Jan 2002
Posts: 1,276
trapped in a paper bag
Drew Offline
Serious User
Drew  Offline
Serious User

Joined: Jan 2002
Posts: 1,276
trapped in a paper bag
hmmm...it worked, but not fully.
My model was solid red, non shaded...but there was no edge line, or toon line. Maybe its going transparant...is the black 0,0,0...maybe it should be a dark grey 5,5,5
How do you change the colors used?



Drew Medina
Game Developer (Artist)
Personal & professional website
Deviant Art
My Blogspot
Re: NPR Shader Conversion [Re: Drew] #22894
02/05/04 05:55
02/05/04 05:55
Joined: Oct 2003
Posts: 151
Watseka, Illinois
M3PHiSTOPH3L3S Offline OP
Member
M3PHiSTOPH3L3S  Offline OP
Member

Joined: Oct 2003
Posts: 151
Watseka, Illinois
Now ive updated my site with a screenshot. It seems you just have to tinker with the settings (which are all labled) to get the right effect your after. The screenshot is just of some terrain and i adjusted the color values of the shader along with the cutoff values. The only problem is getting your lightpos set properly. I think it would be cool if you could set it in a way that it could dynamically detect the closest light and use its pos instead. This however, is just a pipedream i think.

@Drew: told ya I'd get you your NPR shader.

I am also going to try the mettalic NPR aswell. Now we just need stencil buffers . Anyways enjoy.

M3PHiSTO


"you give me the reason, you give me control, i gave you my purity, my purity you stole, did you think i wouldn't recognize this compromise? am i just too stupid to realize?" - Trent Reznor (NiN) Yahoo Messager ID: SHATT3R3DFA1TH
Re: NPR Shader Conversion [Re: M3PHiSTOPH3L3S] #22895
02/05/04 06:12
02/05/04 06:12
Joined: Mar 2002
Posts: 492
Tirana/Albania
fuxerz Offline
Senior Member
fuxerz  Offline
Senior Member

Joined: Mar 2002
Posts: 492
Tirana/Albania
well done M3PHiSTO
it would be even better if we could use an image for color.

Re: NPR Shader Conversion [Re: fuxerz] #22896
02/05/04 06:17
02/05/04 06:17
Joined: May 2002
Posts: 2,541
Berlin
EX Citer Offline
Expert
EX Citer  Offline
Expert

Joined: May 2002
Posts: 2,541
Berlin














Hmm, the fur shader is too fury, can someone tell me how to make it a bit more hairy? Now she looks like a plastic doll...
Well, the npr shader looks like a plastic toy, somehow nice, but not as needfull yet, as metal (metal + enviromentmap shading would be cool (pseudo reflectioN)). And I made two censored original shots. I hope everyone can see that the eyes are not implemented there. She can roteate the head on important Items (very thanks to bones animation) and she can fokus her eyes on important something (camera). And more... And the clothes are missing yet (no time yet)
MfG EX

Last edited by EX Citer; 02/05/04 06:21.

:L
Re: NPR Shader Conversion [Re: EX Citer] #22897
02/05/04 06:50
02/05/04 06:50
Joined: Oct 2003
Posts: 151
Watseka, Illinois
M3PHiSTOPH3L3S Offline OP
Member
M3PHiSTOPH3L3S  Offline OP
Member

Joined: Oct 2003
Posts: 151
Watseka, Illinois
@Drew: the model being solid red has to do with the lightpos probably. I couldn't really figure out how to set it well. You can change the ambient,diffuse,and specular in the Constant declarations. That is also where the light pos is configred.

@EX Citer: I believe Ventilator created a alternate version of the fur shader for THE wiki( ) which I believe has the ability to scale the noise texture for finer fur.

I did also notice that it seems as though the darkest of the three colors in the npr shader seems to be slightly transparent. This can probably be fixed with adding "my.transparent=off;" in the action--not really sure if I threw it in or not...

M3PHiSTO


"you give me the reason, you give me control, i gave you my purity, my purity you stole, did you think i wouldn't recognize this compromise? am i just too stupid to realize?" - Trent Reznor (NiN) Yahoo Messager ID: SHATT3R3DFA1TH

Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1