◄ Wiki / Graphics
unnormalizedCoordinates
A sampler mode that addresses a texture by actual pixel position instead of a 0-to-1 fraction.
Normally GPUs sample textures using coordinates from 0 to 1, so the same shader works regardless of texture size. With unnormalizedCoordinates enabled, you instead index directly in texel (pixel) units — coordinate 5 means the fifth texel. It's useful when you want exact pixel addressing, but it comes with restrictions on which sampler features you can combine with it.
See also
- viewportThe rectangular region of the screen that your rendered image gets mapped onto.
- vertex shadingThe rendering stage that processes each 3D corner point, mainly to compute where it lands on screen.
- VulkanA modern, low-level programming interface for talking directly to graphics and compute hardware.