Leito's picture

DDS texture

I am trying to write a simple water reflection program. In RenderMonkey I've found a shader, that does this, but it requires 3D texture (sampler3D), which is a DDS volume file. I haven't found any libraries for this, so I decided to write one by myself. I managed to load the whole file into Bitmap, but I don't know how to make a 3D texture from it. Does anybody know how to do this?
I'm using C#, but, I think, any language would be OK=)


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Leito's picture

Well, never mind=) I've found another shader, which doesn't request any 3D textures or anything like that. But thanks anyway=)