Just started learning to use SharpDX instead of XNA.
SharpDX forums have been closed down so I'm asking over hear, hopefully someone will point me in the right direction..
I am trying to create a TextureCube at run-time based on the current camera position (this would only happen on occasion when a specific "dirty" flag has been set) to be used for environment mapping on reflective surfaces.
it was easy and straight forward to do in xna...
Just to be clear...I don't want to be loading the texture from file! They will be coming from a Render Target at run time.
Pretty much all the examples I have seen to do with TextureCubes show loading it from a dds file and that won't work for me.
I have 6 seperate Texture2D objects created (one for each view axis) now I just need to combine them into a TextureCube/Texture2D array so that I can use them in my shader (I already have the shader working when I load the TextureCube from a static dds file, but that is not what I want)
cheers
p