summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-22 11:06:32 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-22 11:08:06 +1000
commite0d4e700fb690ad8a7f401da2d7d99d278e6ee5d (patch)
treebdcfd862aec9ca4144ba15267983d812ed1d72f6
parent5a4da588b628fe3b1e612a49374b55d7075fd141 (diff)
reminder to add instanced rendeirng
-rw-r--r--README.md5
-rw-r--r--src/ral/ral_impl.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index e57fedc..1e0b95a 100644
--- a/README.md
+++ b/README.md
@@ -97,6 +97,8 @@ All third-party dependencies are licensed under their own license.
- [ ] rim light
- [ ] fresnel
- [ ] outline
+- [ ] Instanced rendering
+ - [ ] instanced grass
- [ ] Terrain
- [ ] Heightmaps
- [ ] Chunking + culling
@@ -112,6 +114,8 @@ All third-party dependencies are licensed under their own license.
- [ ] Frustum culling (CPU)
- [ ] Postprocessing stack
- *TBD*
+- [ ] Imposters
+- [ ] Volumetric clouds (future)
- [ ] Global illumination (future)
- [ ] GPU-driven rendering (future)
@@ -121,6 +125,7 @@ All third-party dependencies are licensed under their own license.
- [ ] Compute shader pipeline creation/deletion/run
#### Physics
+- [ ] Ground check against heightmap terrain or simple plane
- [ ] Jolt integration
- [ ] In-house Collision detection
diff --git a/src/ral/ral_impl.h b/src/ral/ral_impl.h
index 5376920..6e0ccc0 100644
--- a/src/ral/ral_impl.h
+++ b/src/ral/ral_impl.h
@@ -79,6 +79,7 @@ PUB void GPU_EncodeSetVertexBuffer(GPU_CmdEncoder* encoder, BufferHandle buf);
PUB void GPU_EncodeSetIndexBuffer(GPU_CmdEncoder* encoder, BufferHandle buf);
PUB void GPU_EncodeDraw(GPU_CmdEncoder* encoder, u64 count);
PUB void GPU_EncodeDrawIndexed(GPU_CmdEncoder* encoder, u64 index_count);
+PUB void GPU_EncodeDrawInstanced(GPU_CmdEncoder* encoder, u64 index_count, u64 instance_count); // TODO: implement instanced rendering
// --- Frame cycle
PUB bool GPU_Backend_BeginFrame();