Skip to main content
gamedev.net
🔒 Locked

Render with specific mipmap level

Started by virvelvinden 0 replies 900+ views
Original Post
virvelvinden
virvelvinden
Hi! Is there a way in OpenGL to manually override which mipmap level to render with? Something like this: glBindTexture(... //a mipmap texture glSetMipMapLevel(4); DrawObject(); What i'm trying is to use linear filtering to achieve the blur described here: http://www.gamasutra.com/features/20010209/evans_pfv.htm (2/3 down) I don't want fullscreen blur, just a blur on individual textures. So if I generate the mipmaps as I load the texture there should (i hope) be a way to do this without having to render small version -> copy to texture -> render big version, which would be inefficient in comparison. Thanks for any help!
virvelvinden
virvelvinden
Thank you, seems to be exactly what i'm looking for. I will look into it!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.