Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2.0 #38

Open
6 tasks
MiguelMJ opened this issue Sep 25, 2023 · 1 comment
Open
6 tasks

Version 2.0 #38

MiguelMJ opened this issue Sep 25, 2023 · 1 comment
Labels
v2.0 WIP for Candle 2.0

Comments

@MiguelMJ
Copy link
Owner

MiguelMJ commented Sep 25, 2023

A new version is necessary.

This library is a it old now and there are several things that could have been done better.
The pending feature (now frozen) to allow light texturing #29
and some issues with the overal approach #37 #36
are signals notorious enough that Candle is a bit outdated.

Not to mention that SFML 2.6 is out and honestly, I'm not sure if there is something there that could benefit this project.

So I'm opening this issue to track the main features desired for Candle 2.0

  • Light texturing (implement with shaders)
  • A new approach to avoid use of pointers and ensure null safety
  • A review of the underlying geometry
  • A revamp for the occlusion system (currently called segments)

Also, after these years I've learned one or two things more about graphic engines, so other features that would be cool to have (but have no priority for Candle 2.0) are:

  • A light layer system (occluders only affect lights in the same layer)
  • Normal maps (a separate texture to define how a surface reacts to light)

I don't have much time for this project right now, given the size of the pending changes, but I'm determined to keep it a modern, usable library. So even if the updates arrive slowly, be sure I have the will to work on them.

@chu65536
Copy link

chu65536 commented Sep 25, 2023

I've encountered strange graphical artifact several times.
This happens when a beam of light passes very close to the edge of an edge. For a short time, a long wave of the same light appears, which goes far beyond the screen. I'll try to record a video to explain in more detail what it looks like.

@MiguelMJ MiguelMJ added the v2.0 WIP for Candle 2.0 label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2.0 WIP for Candle 2.0
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants