Skip to main content
GameDev.net gamedev.net
🔒 Locked

Rendering to Texture1D 3X1

Started by lomateron Sep 10, 2012 at 8:16 PM 0 replies 850+ views
Original Post
lomateron
lomateron
I cant render to any pixel,using pointlist of only one vertex so i can render only 1 pixel.
To hit the pixels of the texture from left to right the vertex values are:
(-0.6f,0.0f,0.0f)
(0.0f,0.0f,0.0f)
(0.6f,0.0f,0.0f)
but debugging with PIX tells me that i am not hitting any pixel with that values
In the vertex shader the vertex values are not changed.

PFF I must stop posting here so easily, the problem was that the fourth value of the vertex were 0.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.