summaryrefslogtreecommitdiff
path: root/src/render/shadows.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-13 17:25:13 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-13 17:25:13 +1000
commit13949ca02bcf9fcdfcc48ea7949f617553a260b6 (patch)
tree28361375cc637c8442db3c79d274eaca0f4fbf00 /src/render/shadows.c
parent87a8749049d74cc8aa3f0cacf0b896640dc53763 (diff)
allow UV tiling for plane geometry
Diffstat (limited to 'src/render/shadows.c')
-rw-r--r--src/render/shadows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/shadows.c b/src/render/shadows.c
index 499ec02..3d348ea 100644
--- a/src/render/shadows.c
+++ b/src/render/shadows.c
@@ -127,7 +127,7 @@ void Shadow_Init(Shadow_Storage* storage, u32 shadowmap_width, u32 shadowmap_hei
storage->debugquad_pipeline =
GPU_GraphicsPipeline_Create(debugquad_pipeline_desc, storage->debugquad_pass);
- Geometry quad_geo = Geo_CreatePlane(f32x2(1, 1));
+ Geometry quad_geo = Geo_CreatePlane(f32x2(1, 1), 1,1 );
// HACK: Swap vertices to make it face us
Vertex top0 = quad_geo.vertices->data[0];
quad_geo.vertices->data[0] = quad_geo.vertices->data[2];