Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 827 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
[TUT] Simple PixelShaderTutorial for Dummies #42240
03/08/05 06:08
03/08/05 06:08
Joined: May 2003
Posts: 609
Rattenfängerstadt
Rigoletto Offline OP
Developer
Rigoletto  Offline OP
Developer

Joined: May 2003
Posts: 609
Rattenfängerstadt
Hi,

i put a little tutorial online: PixelShaderTutorial1

It would be nice if some experts will have a look on if it is correct so far. Some code snippets to put online would be nice too.

Someone have a tip to correct the align of the alpha texture?

Re: [TUT] Simple PixelShaderTutorial for Dummies [Re: Rigoletto] #42241
03/09/05 11:15
03/09/05 11:15
Joined: Jan 2003
Posts: 798
New Zealand
Bright Offline
User
Bright  Offline
User

Joined: Jan 2003
Posts: 798
New Zealand
I like this tutorial, nice work

But I think you might want to explain more about the the process of programming a shader for the whole "Material" script insted of just the PixelShader script.

Ill love to see more shader tutorials from you Since I am a noob at shaders, your tutorial told me about starting out with shaders, nice work.


KAIN - Coming soon...
Re: [TUT] Simple PixelShaderTutorial for Dummies [Re: Bright] #42242
03/09/05 21:06
03/09/05 21:06
Joined: May 2003
Posts: 609
Rattenfängerstadt
Rigoletto Offline OP
Developer
Rigoletto  Offline OP
Developer

Joined: May 2003
Posts: 609
Rattenfängerstadt
In Antwort auf:

I like this tutorial, nice work



Thanx, i think a picture of can say a lot.

In Antwort auf:

But I think you might want to explain more about the the process of programming a shader for the whole "Material" script insted of just the PixelShader script.



Good idea, i write my little knowledge with comments into the project-script.

In Antwort auf:

Ill love to see more shader tutorials from you Since I am a noob at shaders, your tutorial told me about starting out with shaders, nice work.



I´ll will update it if i learn more.

@ShaderExperts:
1. Can anyone help how to lay a texture on top of each other. How can i align the alpha texture to the bottom of the bock?

2. I have experimented with texkill. It´s a good thing to make a part of a block invisible. Have anyone an example for this?

Re: [TUT] Simple PixelShaderTutorial for Dummies [Re: Rigoletto] #42243
03/10/05 01:53
03/10/05 01:53
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
That's a great start! Thank you very much!

Re: [TUT] Simple PixelShaderTutorial for Dummies [Re: Pappenheimer] #42244
03/10/05 09:21
03/10/05 09:21

A
Anonymous
Unregistered
Anonymous
Unregistered
A



It looks like the code is for DirectX 8.1 and it's in assembly.

Will this work for fixed-function pipeline? I mean, for fixed-function effects?

Very basic tutorial but my laptop doesn't have a support for pixel shader but it does have some kind of vertex shader support... The name of the video chip I have is ATI Radeon Mobility M6-P 16MB.

Re: [TUT] Simple PixelShaderTutorial for Dummies #42245
03/10/05 09:36
03/10/05 09:36
Joined: Jul 2001
Posts: 1,269
Hopewell Jct, NY
Yulor Offline
Senior Developer
Yulor  Offline
Senior Developer

Joined: Jul 2001
Posts: 1,269
Hopewell Jct, NY
This is awesome, my advice, make some sort of wiki or interactive page, so everyone can come up with there own little tutorials like this!

Re: [TUT] Simple PixelShaderTutorial for Dummies #42246
03/10/05 20:56
03/10/05 20:56
Joined: May 2003
Posts: 609
Rattenfängerstadt
Rigoletto Offline OP
Developer
Rigoletto  Offline OP
Developer

Joined: May 2003
Posts: 609
Rattenfängerstadt
In Antwort auf:

It looks like the code is for DirectX 8.1



Works with DX9 too.

In Antwort auf:

Will this work for fixed-function pipeline? I mean, for fixed-function effects?



As a noob i can´t answer this.

In Antwort auf:

Very basic tutorial but my laptop doesn't have a support for pixel shader but it does have some kind of vertex shader support... The name of the video chip I have is ATI Radeon Mobility M6-P 16MB.



Do you ask if a tutorial came in the same style for vertexshader? After i have all learn to code pixelshader i need, i take a look on vertexshader. But may take some time.

Re: [TUT] Simple PixelShaderTutorial for Dummies [Re: Yulor] #42247
03/10/05 20:58
03/10/05 20:58
Joined: May 2003
Posts: 609
Rattenfängerstadt
Rigoletto Offline OP
Developer
Rigoletto  Offline OP
Developer

Joined: May 2003
Posts: 609
Rattenfängerstadt
I take a look if i can put this on the 3dgs wiki.

Re: [TUT] Simple PixelShaderTutorial for Dummies [Re: Yulor] #42248
03/11/05 03:36
03/11/05 03:36
Joined: May 2003
Posts: 609
Rattenfängerstadt
Rigoletto Offline OP
Developer
Rigoletto  Offline OP
Developer

Joined: May 2003
Posts: 609
Rattenfängerstadt
Put this SimplePixelShaderTutorial in the Wiki.

Re: [TUT] Simple PixelShaderTutorial for Dummies #42249
03/11/05 07:09
03/11/05 07:09
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
Quote:


Will this work for fixed-function pipeline? I mean, for fixed-function effects?





simply .. no it won't. As a rule anything in assembly is a pixel/vertex shader that runs only on a GPU.

Page 1 of 2 1 2

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