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

Render to texture/image (.NET CF)

Started by joe628 Aug 17, 2011 at 12:20 PM 0 replies 850+ views
Original Post
joe628
joe628
Hi There!

I'm trying to draw non rectangular 2D shapes (polygons, ellipses) with open gl es in .net cf, which are textured with gradients. I thought that i could create the gradient by drawing a rectangle with its vertices colored and than use that rectangle as a texture on the actual shapes. The only problem is that i can find a working code snippet that show how to render an opengl scene onto a Texture or Image (Bitmap) object.
The gradients has to be dynamic so loading them from file is out of the question, i have to create them in run time.

Please guide me to the right direction.
Thx in advance: Bali

Topic Locked

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

Sign in to reply to this topic.