powers of two error
Monkey Targets Forums/XNA/powers of two error
| ||
i get this error when i try to compile to xna only.Not really sure what it means but am i going in the right direction thinking that my images have got to be 8x8,16x16,32x32 or something like that.I dont want to change all my sizes if thats not the prob Monkey runtime error: XNA Framework Reach profile requires TextureAddressMode to be Clamp when using texture sizes that are not powers of two. |
| ||
Theres a compression mode in xna that has this requirement, i really hope its not being used as default as it isnt the best quality option. |
| ||
I can load non powr of two textures without any problems here. Also, TextureAddressMode is always set to Clamp ...did you changed that? public void BeginRender(){ device.RasterizerState=RasterizerState.CullNone; device.DepthStencilState=DepthStencilState.None; device.BlendState=BlendState.NonPremultiplied; if( MonkeyConfig.MOJO_IMAGE_FILTERING_ENABLED=="1" ){ device.SamplerStates[0]=SamplerState.LinearClamp; }else{ device.SamplerStates[0]=SamplerState.PointClamp; } Edit: 7month old thread :\ |