Elektrine lite

← Feed

@alice@mk.nyaa.place

Post #3434653

2025-09-16 02:18 UTC

I implemented #include for shaders. While in theory I could make use of ARB_shading_language_include, the problem is I have to list those includes ahead of time, meaning that I have to parse the file and look for the includes... then load those and look there as well, etc. So... I decided to just implement my own tiny preprocessor - just expanding includes and doing nothing else. It's fairly janky - e.g. this: /* #include "something.inc" */ where something.inc is: */ blah /* will fail. But - oh well.

Replies (1)

  • @alice@mk.nyaa.place 2025-09-16 02:22

    I also started implementing UI for controls remapping, but well, it's difficult. One problem is that now I have to finally unfuck the controllers - the duplicate Lynx, DS and NES controllers specifically... Also yeah, the list is pretty long. Then I need to think how to present the actual prefs. Otherwise a crash fix and a bit of UI polish in preferences.

    Open ##3434652