Nebula-Developer / Yoru-Engine

🌃 C# Game/Application Framework
MIT License
4 stars 0 forks source link

Shader discussion #12

Open Nebula-Developer opened 4 months ago

Nebula-Developer commented 4 months ago

Shaders are another big goal for Yoru Engine, as they supply flexible graphics manipulation through the use of shader languages. I'll be looking for ways to bridge the SKRuntimeEffect (ref), but it should be fairly easy to implement. I may also add a way of exporting shader language contents to a binary file.

Heres a screenshot of a shader running with Yoru on MacOS: Screenshot 2024-05-16 at 6 51 25 PM

Nebula-Developer commented 4 months ago

I'm determining whether to design a custom shader language that parses to SkSl, otherwise I may instead just provide a helper library for SkSl that provides certain functionality. (potentially comment-based control for dynamically importing functions that are saved in Yoru's resources)