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?
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.
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?
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
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.