summaryrefslogtreecommitdiff
path: root/engine/res/main_3d_shader.slang
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-09-16 12:42:45 +0200
committerHampusM <hampus@hampusmat.com>2026-09-16 12:42:45 +0200
commitf85f5afc5a4a50c5c87a236bc76f8a08d50e7137 (patch)
tree335f55580ec706cd00ee937995355252b3304dfd /engine/res/main_3d_shader.slang
parentedd3261058c3417cf04f95dbfbc51a64e35426aa (diff)
fix(engine): make textures not flipped
Diffstat (limited to 'engine/res/main_3d_shader.slang')
-rw-r--r--engine/res/main_3d_shader.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/res/main_3d_shader.slang b/engine/res/main_3d_shader.slang
index 7da164c..d1a1ef3 100644
--- a/engine/res/main_3d_shader.slang
+++ b/engine/res/main_3d_shader.slang
@@ -225,7 +225,7 @@ struct VertexStageOutput
struct Vertex
{
float3 pos : STD_POSITION;
- float2 texture_coords : STD_UV;
+ float2 texture_coords : STD_UV_FROM_TOP_LEFT;
float3 normal : STD_NORMAL;
};