[TUT] Simple PixelShaderTutorial for Dummies

Posted By: Rigoletto

[TUT] Simple PixelShaderTutorial for Dummies - 03/08/05 06:08

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?
Posted By: Bright

Re: [TUT] Simple PixelShaderTutorial for Dummies - 03/09/05 11:15

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.
Posted By: Rigoletto

Re: [TUT] Simple PixelShaderTutorial for Dummies - 03/09/05 21:06

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?
Posted By: Pappenheimer

Re: [TUT] Simple PixelShaderTutorial for Dummies - 03/10/05 01:53

That's a great start! Thank you very much!
Posted By: Anonymous

Re: [TUT] Simple PixelShaderTutorial for Dummies - 03/10/05 09:21

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.
Posted By: Yulor

Re: [TUT] Simple PixelShaderTutorial for Dummies - 03/10/05 09:36

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!
Posted By: Rigoletto

Re: [TUT] Simple PixelShaderTutorial for Dummies - 03/10/05 20:56

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.
Posted By: Rigoletto

Re: [TUT] Simple PixelShaderTutorial for Dummies - 03/10/05 20:58

I take a look if i can put this on the 3dgs wiki.
Posted By: Rigoletto

Re: [TUT] Simple PixelShaderTutorial for Dummies - 03/11/05 03:36

Put this SimplePixelShaderTutorial in the Wiki.
Posted By: Matt_Aufderheide

Re: [TUT] Simple PixelShaderTutorial for Dummies - 03/11/05 07:09

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.
Posted By: Anonymous

Re: [TUT] Simple PixelShaderTutorial for Dummies - 03/11/05 09:28

Ah...I didn't mean to mention this but my laptop sucked... It's the ATI Radeon Mobility M6-P (7000) that I don't like the most.

Wouldn't fixed function effects run in GPU also?

Thanks.
© 2024 lite-C Forums