Original Post
I Read a tutorial about Dynamic Lightmaps at
http://www.3ddrome.com/articles/dynamiclightmaps.php
the author is using OpenGL and i want to convert this to DirectX, the thing is about Creating Surfaces/Textures.
He is creating a Texture and filling it with data which he calculated for the Lightmaps (pixeldata), anyway the data is a static unsigned char array and i wan''t to create a texture/surface in DirectX and fill it with this data, and hopefully get a renderable texture
....
first: should i create a texture or surface?
second: how do i import the data to that surface/texture to get a correc/renderable texture/surface, should i use the LocRect funktion and fill it?