Does XNA support 1 dimensional textures. And by 1 dimension texture I mean something like Texture1d not a Texture2d where one dimension is 1 (because of the 4096 limit)
|
|
As per my comment, You can map a one-dimensional index to a two-dimensional index using the following function:
Therefore you can simply perform a
|
|||
|
|
|
HLSL has a Texture1D but XNA doesn't. I know little about shaders but I suggest you start first checking if the included basic effect supports Texture1D. If so then you just need to store in a buffer then pass it to the effect. If not you have to implement it from the ground up. Not sure if it does but I hope that helps. |
|||
|
|
