Skip to main content
gamedev.net
🔒 Locked

Texcoords

Started by medevilenemy 1 reply 850+ views
Original Post
medevilenemy
medevilenemy
Quick question, sorry if this sounds stupid. If I am loading a texture that is not square (wider than it is tall), is the vertical dimension still 0.0f to 1.0f and the horizontal dimension still 0.0f to 1.0f as well (i'm using OpenGL)? Thanks, all
There was a saying we had in college: Those who walk into the engineering building are never quite the same when they walk out.
Brother Bob
Brother Bob
Yes, the texture coordinates are always from 0 to 1.
medevilenemy
medevilenemy
Awesome, that keeps things nice and simple.
There was a saying we had in college: Those who walk into the engineering building are never quite the same when they walk out.

Topic Locked

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

Sign in to reply to this topic.