Skip to main content
gamedev.net
🔒 Locked

nvidia float image resize

Started by shirsoft 0 replies 500+ views
Original Post
shirsoft
shirsoft
Hi All, I am trying to resize a GL_FLOAT_RGBA32_NV image to half of its width & height with nearest neighbor filtering. However i observed that the resized image has the odd pixels of the original image instead of the even.(i.e. [1,1], [1,3]...) Is this expected? In my code i just draw a quad with vertices (0,0) to (w/2,h/2) and tex coord as (0,0) to (w,h). Both w & h are multiple of 2. Thanks in advance
The longest battle is the battle within

Topic Locked

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

Sign in to reply to this topic.