|
NPR Shader Conversion
#22890
02/05/04 04:27
02/05/04 04:27
|
Joined: Oct 2003
Posts: 151 Watseka, Illinois
M3PHiSTOPH3L3S
OP
Member
|
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
Expert
|
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: Drew]
#22894
02/05/04 05:55
02/05/04 05:55
|
Joined: Oct 2003
Posts: 151 Watseka, Illinois
M3PHiSTOPH3L3S
OP
Member
|
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: fuxerz]
#22896
02/05/04 06:17
02/05/04 06:17
|
Joined: May 2002
Posts: 2,541 Berlin
EX Citer
Expert
|
Expert
Joined: May 2002
Posts: 2,541
Berlin
|
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
OP
Member
|
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
|
|
|
|