|
Oxygen Engine
Modern C++ 3D Engine using OpenGL
|
Material property defining texture coordinates set transformation. More...
#include <OxygenEngine/scene/material.h>
Public Attributes | |
| glm::vec2 | tiling = glm::vec2(1.f) |
| Apply a tiling to the texture UV. | |
| glm::vec2 | offset = glm::vec2(0.f) |
| Apply an offset to the texture UV. | |
Material property defining texture coordinates set transformation.
Defines how the UV coordinates provided by the vertex should be modified
| glm::vec2 oe::scene::TextureCoordinatesTransform::offset = glm::vec2(0.f) |
Apply an offset to the texture UV.
| glm::vec2 oe::scene::TextureCoordinatesTransform::tiling = glm::vec2(1.f) |
Apply a tiling to the texture UV.
Greater values lead to the effect of the texture being smaller