The MASM Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 09, 2010, 01:54:00 am

Login with username, password and session length
Search:     Advanced search
117346 Posts in 14003 Topics by 1654 Members
Latest Member: road_hog
* Home Help Search Login Register
+  The MASM Forum
|-+  Project Support Forums
| |-+  OpenGL Forum (Moderator: hitchhikr)
| | |-+  What is Vertex Shader?
« previous next »
Pages: [1] Print
Author Topic: What is Vertex Shader?  (Read 1352 times)
Farabi
Accountant
Member
*****
Gender: Male
Posts: 1474


MASM+OpenGL Fanatic


What is Vertex Shader?
« on: August 06, 2009, 01:16:26 pm »

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

19:33   And if a man from another country is living in your land with you, do not make life hard for him; (My website is under construction, dont know when it will be done)
xanatose
Member
*****
Posts: 197



Re: What is Vertex Shader?
« Reply #1 on: August 06, 2009, 02: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.
Logged
Farabi
Accountant
Member
*****
Gender: Male
Posts: 1474


MASM+OpenGL Fanatic


Re: What is Vertex Shader?
« Reply #2 on: August 06, 2009, 03:03:21 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?
Logged

19:33   And if a man from another country is living in your land with you, do not make life hard for him; (My website is under construction, dont know when it will be done)
xanatose
Member
*****
Posts: 197



Re: What is Vertex Shader?
« Reply #3 on: August 06, 2009, 03: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
Logged
Farabi
Accountant
Member
*****
Gender: Male
Posts: 1474


MASM+OpenGL Fanatic


Re: What is Vertex Shader?
« Reply #4 on: August 07, 2009, 05:13:40 am »

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

19:33   And if a man from another country is living in your land with you, do not make life hard for him; (My website is under construction, dont know when it will be done)
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP The MASM Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!