GameDevTecnico / cubos

A still very barebones game engine focused on voxels and data-oriented programming
https://cubosengine.org
MIT License
83 stars 36 forks source link

feat(rendering): add Lights plugin #1136

Closed RiscadoA closed 5 months ago

RiscadoA commented 5 months ago

Description

Adds the lights plugin, which justs adds the 3 light components + the render environment resource. Changes the existing renderer plugin to use it.

Checklist

github-actions[bot] commented 5 months ago

PR Preview Action v1.4.7 :---: :rocket: Deployed preview to https://GameDevTecnico.github.io/cubos/docs-preview/pr-1136/ on branch gh-pages at 2024-04-24 21:39 UTC

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 0% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 40.54%. Comparing base (baa3ded) to head (8d60577).

Files Patch % Lines
engine/src/render/lights/plugin.cpp 0.00% 5 Missing :warning:
engine/src/render/lights/environment.cpp 0.00% 2 Missing :warning:
engine/src/renderer/plugin.cpp 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1136 +/- ## ========================================== - Coverage 40.54% 40.54% -0.01% ========================================== Files 333 334 +1 Lines 25508 25510 +2 ========================================== Hits 10342 10342 - Misses 15166 15168 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.