TeamWisp / WispRenderer

RTX Ray Tracing Renderer, made by Y3 students at Breda University of Applied Science
https://teamwisp.github.io
Apache License 2.0
202 stars 14 forks source link

Instancing & Lighting #42

Open Nielsbishere opened 5 years ago

Nielsbishere commented 5 years ago

The current implementation of instancing could be optimized. Currently it always updates the mesh batches and sends it to the GPU, the reason is that setting a pointer on init for MeshNode won't be valid if another MN gets destructed. This could potentially be fixed by moving MeshNodes after the destructed MN back a step, requiring them to be recalculated next frame. This same issue is present with the current light system.

All optimizations & changes for draw calls include:

Optimizations & changes for lighting include:

VZout commented 5 years ago
Nielsbishere commented 5 years ago

2/4 light changes addressed in feature_optimization_lights;

Nielsbishere commented 5 years ago

For raytracing: