Sign in to follow this  
ultrablox

OpenGL Unnormalized texture coordinates

Recommended Posts

Is there any way to use in direct3d 11 HLSL texture objects where coordinates are varying from [0..image_size_in_pixels]? Like GL_TEXTURE_RECT in openGL?

Share this post


Link to post
Share on other sites
The texture object's Load() method takes unnormalized integer coordinates. Note that this functionality is only available in shader model 4 and higher. Edited by Nik02

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