Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 527 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
squik, AemStones, LucasJoshua, Baklazhan, Hanky27
19060 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Alternate vertex shader texture rendering method? #17518
09/24/03 03:37
09/24/03 03:37
Joined: Jul 2002
Posts: 2,813
U.S.
Nadester Offline OP

Expert
Nadester  Offline OP

Expert

Joined: Jul 2002
Posts: 2,813
U.S.
Hey I was wondering if anyone knows of any alternatate vertex shader texture rendering methods. I am making a cel shader and I out put the lighting in all through the oT0 command. But if I try to do like a mov oT0, v7 it just over rights by cel shader giving me just a texture. If I write it like mov oD0, v7, it works, but its all color diffuse not my actual texture. I basically need a method to set my texture/uv with oD0 or with oT0 but without writing over my actual shading part. Thanx! Btw, if I render my lighting with the oD0 instead it doesnt give me that cartoony effect.


--Eric
Re: Alternate vertex shader texture rendering method? [Re: Nadester] #17519
09/25/03 10:37
09/25/03 10:37
Joined: Jul 2002
Posts: 2,813
U.S.
Nadester Offline OP

Expert
Nadester  Offline OP

Expert

Joined: Jul 2002
Posts: 2,813
U.S.
Any help please? If I can get the texture to work I will for sure share the source with the community. The effect it really neat!


--Eric
Re: Alternate vertex shader texture rendering method? [Re: Nadester] #17520
09/26/03 00:43
09/26/03 00:43
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
i have no idea what you are talking about in your first post! i think you have to explain what's the idea of your shader and how the vertex shader is intended to work together with the pixelshader.

Re: Alternate vertex shader texture rendering method? [Re: ventilator] #17521
09/26/03 03:28
09/26/03 03:28
Joined: Jul 2002
Posts: 2,813
U.S.
Nadester Offline OP

Expert
Nadester  Offline OP

Expert

Joined: Jul 2002
Posts: 2,813
U.S.
Well, it doesnt work with a pixel shader. It runs on its own. It basically is a pretty normal lighting shader but instead of outputing the actual shading part to oD0 (like in your example with the bumpmapping), I output it to the texture one, oT0. This gives me a toon effect. But I cannot put a texture on with oT0 because that overwrites my shading. So how else would I display a texture?


--Eric
Re: Alternate vertex shader texture rendering method? [Re: Nadester] #17522
09/26/03 05:04
09/26/03 05:04
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
if you would like to apply a texture additionally to the toon effect you could output the real texture coordinates to oT1. then you have to blend the toon texture stage with the oT1 texture stage in the way you want!

Re: Alternate vertex shader texture rendering method? [Re: ventilator] #17523
09/26/03 07:49
09/26/03 07:49
Joined: Jul 2002
Posts: 2,813
U.S.
Nadester Offline OP

Expert
Nadester  Offline OP

Expert

Joined: Jul 2002
Posts: 2,813
U.S.
Check your pm's ventilator


--Eric

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