Skip to main content
gamedev.net
🔒 Locked

pixel plotting

Started by blueshogun96 Sep 19, 2005 at 5:24 PM 1 replies 650+ views
Original Post
blueshogun96
blueshogun96
Hey, I was just wondering are there any articles or tutorials on plotting pixels to the screen like you would using directdraw? This is one thing I never took alot of time to master. Thanks.
mrbastard
mrbastard
It's rare these days to directly manipulate pixels with opengl. Depending on what you want to do, there is probably a better way - either a fragment shader or just plot to a texture. Looking at the docs for glWritePixels will help if you are determined to plot pixels directly though.
[size="1"]
blueshogun96
blueshogun96
ok, I never thought of using a fragment shader to do te job, thanks.

Topic Locked

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

Sign in to reply to this topic.