• Advertisement

Archived

This topic is now archived and is closed to further replies.

Vertex shader in DX8 immediate mode

This topic is 5308 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m trying to write a sample program that use vertex shader and immediate mode ( i means the input vertices are already in screen position). For example: vertices = 0,0 0,480 640, 480 640, 0 and my vertex shader is something like this v.1.1 mov oPos, v0 mov oD0, c0 This seems not to work. looks like D3D is doing the projection, thing I don''t want, and then draw nothing is it possible ? in fact this is to set a primitive covering the whole screen (in 640x480 and i want to use a vertex shader for doing some UV coordinates modifications Is someone already tried to do that ? you can download the sample code i''ve trying to make it works http://www.realtech.scene.org/download/vs8-im.zip

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement