Sign in to follow this  
neviton

[.net] SetLevelOfDetail don't work

Recommended Posts

Please, help-me! In my code, the SetLevelOfDetail, work only whether I load it using TextureLoader.FromFile. If I load a texture with FromBitmap, the SetLevelOfDetail don't work. Why? I'm using DirectX on c#.

Share this post


Link to post
Share on other sites
Bitmaps only have one level of detail (I believe), if you export a DDS file with multiple levels of detail then they're all in the same file..

Maybe try looking at your texture's levelcount and levelofdetail properties, and try GenerateMipSubLevels(),

Then again, I have heard that D3d will automatically create the other levels.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this