News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

What is Vertex Shader?

Started by Farabi, August 06, 2009, 12:16:26 PM

Previous topic - Next topic

Farabi

I saw hitchkr vertex shadow example, and the fish which is not animated is moving just like a fish.
How to do that? Is that what called vertex shader or what?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

xanatose

Vertex Shader : A program that runs in the GPU and affects the attributes of a vertex. Since its run in the GPU, it frees the CPU to do other things.

Fragment Shader : A program that runs in the GPU and affects how each individual pixel is drawn. (but not the position). Doing this on the CPU would be slow as hell.

Farabi

Quote from: xanatose on August 06, 2009, 01:42:03 PM
Vertex Shader : A program that runs in the GPU and affects the attributes of a vertex. Since its run in the GPU, it frees the CPU to do other things.

Fragment Shader : A program that runs in the GPU and affects how each individual pixel is drawn. (but not the position). Doing this on the CPU would be slow as hell.

Do you know any psh or vsh editor or how it been created?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

xanatose

The vertex shaders and the fragment shaders are just text files.

As for editors.
Shader Designer http://www.typhoonlabs.com/
ATI Render Monkey, for OpenGL and D3D shaders http://developer.amd.com/GPU/RENDERMONKEY/Pages/default.aspx
Nvidia FX Composer for D3D shaders: http://developer.nvidia.com/object/fx_composer_home.html

Farabi

Quote from: xanatose on August 06, 2009, 02:10:10 PM
The vertex shaders and the fragment shaders are just text files.

As for editors.
Shader Designer http://www.typhoonlabs.com/
ATI Render Monkey, for OpenGL and D3D shaders http://developer.amd.com/GPU/RENDERMONKEY/Pages/default.aspx
Nvidia FX Composer for D3D shaders: http://developer.nvidia.com/object/fx_composer_home.html


Okay thanks.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"