Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (monarch), 1,259 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Doubt : terms in A6 shader code #27586
05/19/04 19:50
05/19/04 19:50
Joined: Sep 2003
Posts: 21
cool Offline OP
Newbie
cool  Offline OP
Newbie

Joined: Sep 2003
Posts: 21
Hi,

I am very new to vertex shaders. Could anybody please explain the terms in the following shader code?

http://www.inode.at/baop/wiki/index.php?FurShader

what does the terms "technique", "pass 1", etc mean?
what is zWriteEnable=true, alphaBlendEnable=true ?

Are they available in any of the A6 manuals?

thanking you in advance

Re: Doubt : terms in A6 shader code [Re: cool] #27587
05/19/04 21:15
05/19/04 21:15
Joined: Oct 2000
Posts: 1,543
Germany
A
Alexander Esslinger Offline
Senior Developer
Alexander Esslinger  Offline
Senior Developer
A

Joined: Oct 2000
Posts: 1,543
Germany
These are DirectX effect commands. Check the DirectX SDK for a describtion.

Re: Doubt : terms in A6 shader code [Re: Alexander Esslinger] #27588
05/19/04 21:33
05/19/04 21:33
Joined: Sep 2003
Posts: 21
cool Offline OP
Newbie
cool  Offline OP
Newbie

Joined: Sep 2003
Posts: 21

So, is it essential that you know directx to study shaders?

Re: Doubt : terms in A6 shader code [Re: cool] #27589
05/19/04 21:48
05/19/04 21:48
Joined: Oct 2000
Posts: 1,543
Germany
A
Alexander Esslinger Offline
Senior Developer
Alexander Esslinger  Offline
Senior Developer
A

Joined: Oct 2000
Posts: 1,543
Germany
No it's not, but it would make things easier. If you know about matrices and the needed 3d mathematics, you can learn shaders without knowing the DirectX fixed function pipeline.

Re: Doubt : terms in A6 shader code [Re: Alexander Esslinger] #27590
05/19/04 22:09
05/19/04 22:09
Joined: Sep 2003
Posts: 21
cool Offline OP
Newbie
cool  Offline OP
Newbie

Joined: Sep 2003
Posts: 21
thanks for the reply

yeah,
I know matrix transformations and all. I have found that "effects" is an added feature in directX8.1. But in SDK doc, there is very few explanation. What I was asking is that shouln't we know things like alpha blending, stencil buffering, etc to do effective shader programming?

Also one more thing....in topics like fur shader, it seems that we should know lot of mathematics to do the code. Is it true?

Re: Doubt : terms in A6 shader code [Re: cool] #27591
05/19/04 23:37
05/19/04 23:37
Joined: Oct 2000
Posts: 1,543
Germany
A
Alexander Esslinger Offline
Senior Developer
Alexander Esslinger  Offline
Senior Developer
A

Joined: Oct 2000
Posts: 1,543
Germany
Alphablending yes, stencil buffer knowledge isn't really needed for a6.

Knowing a lot about mathematics is relative: For example you should be able to calculate the cross-product or the sinus in shader assembler, but doing some extremly mathematic stuff won't be needed.


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