Skip to content
Snippets Groups Projects
  1. Apr 02, 2025
  2. Mar 24, 2025
    • alfrh02's avatar
      b0.5.0 2DGI · 944c4829
      alfrh02 authored
      + Indirect illumination for gi.frag shader
      + Blue noise texture for future use
      + MousePos uniform for prepscene.frag
      * Fixed distance field resolution distortion
      * Amendment of comments
      - Removed sandbox.h and scene.h
      - Removed rc.frag
      944c4829
  3. Mar 06, 2025
  4. Feb 14, 2025
    • alfrh02's avatar
      b0.4_6 Moved buffers & more debug textures · 8adcda88
      alfrh02 authored
      + Added coloured lights moving in a circular motion using an SD
      * Attached buffers to `Demo` rather than generating them in `render()`, so these are now accessible from other functions
      * As a result of above, added textures to UI for each buffer (you can now see the emission map, occlusion map, scene map, JFA map, and distance field map in debug mode)
      8adcda88
  5. Feb 05, 2025
  6. Feb 03, 2025
    • alfrh02's avatar
      b0.4_4 Mouse interpolation · bf4f28fa
      alfrh02 authored
      + Linear interpolation of mouse position between frames for smoother drawing
      + Scene and Sandbox classes (to be expanded upon)
      * Tweaked shader values for better lighting
      bf4f28fa
  7. Feb 02, 2025
  8. Jan 31, 2025
    • alfrh02's avatar
      b0.4_2 Optimisations · 94b7a7ed
      alfrh02 authored
      * Code cleanup
        - Removed unused UI code
        - Removed "viewer" mode
      * Changed static images to use more optimal bit depths
      + Added distance field shader and buffer so that we don't need to send the entire output of JFA to the lighting shader.
      94b7a7ed
  9. Jan 30, 2025
    • alfrh02's avatar
      b0.4_1 'Fuzzy walls' fix · bee54173
      alfrh02 authored
      * Fixed fuzzy walls - texture coordinates were being encoded with too little bit depth, meaning some pixels were holding the wrong texture coordinates.
      * Added utility function to change bit depth of a framebuffer - big performance hit! Maybe reduce bit depth of other buffers to compensate?
      * Reduced default ray count per pixel from 512 to 256.
      bee54173
  10. Jan 28, 2025
    • alfrh02's avatar
      b0.4_0 2DGI implementation · ebc77388
      alfrh02 authored
      + Rudimentary 2D implementation
        + Raymarching
      * Code cleanup
      * Modified brush texture to clamp values
      * Divided prep.frag into prepjfa.frag and prepscene.frag for convenience
      
      Current lighting implementation produces "prickles" on light sources. This needs fixing.
      ebc77388
    • alfrh02's avatar
      b0.3_0 Emitter & occlusion maps; purge unused features · 82b001a7
      alfrh02 authored
      + Occlusion & emitter maps that can be drawn to separately
      + gi.frag for placeholder global illumination shader
      - Removed all features pertaining to the old lighting model such as Lights and LightTypes, etc. These may come back later on.
      82b001a7
  11. Jan 27, 2025
  12. Jan 23, 2025
    • alfrh02's avatar
      b0.2_1 JFA fix; utility shader functions & hashmap · 970b0fca
      alfrh02 authored
      + Added `shaders` hashmap for better management of shader programmes
      + Added reloading & loading utility functions to `Demo` class
      + Added some comments for readability
      * Fixed JFA artifacting
      * Temporarily removing non-debug UI during RC implementation
      970b0fca
    • alfrh02's avatar
      b0.2_0 JFA implementation · 434eeccf
      alfrh02 authored
      + Implemented jump-flooding algorithm to create distance fields with
        (big milestone!!)
        + Implemented ping-pong buffering, prep.frag (to prepare UV mask for
          JFA), jfa.frag (to perform JFA), and rc.frag ('radiance cascades'
          final fragment shader, right now only displays framebuffer content
          from JFA)
      434eeccf
  13. Jan 22, 2025
  14. Jan 19, 2025
  15. Jan 08, 2025
    • alfrh02's avatar
      README · 262fa33a
      alfrh02 authored
      262fa33a
    • alfrh02's avatar
      a0.11_6 · 85adebf4
      alfrh02 authored
      * Fixed drawing brush
      * Help text is now on by default
      85adebf4
    • alfrh02's avatar
      a0.11_5 · fab84bc8
      alfrh02 authored
      * Readability
        * Renamed functions
        + More comments
      * Altered lighting.frag smooth shadows slightly
      + Added help dialogue to UI
      fab84bc8
  16. Jan 07, 2025
  17. Jan 05, 2025
    • alfrh02's avatar
      a0.11_4 · 37521d48
      alfrh02 authored
      * Fixed & changed random type selection
      * Some code cleanup
      37521d48
  18. Jan 04, 2025
    • ahall001's avatar
      a0.11_3 · 16406009
      ahall001 authored
      + Added saw light type
      + Added alternative mouse interactions with left control and left shift
      + Added light seeds for slightly different timings with noise, saw, and
        sine light types
      + Reintroduced perspective mode
      + Added Raylib to lib/ for compilation
      * Renamed FLICKERING light type to NOISE
      - Removed Raylib CMake fetch
      16406009
  19. Jan 02, 2025
    • alfrh02's avatar
      a0.11_2 · 2025df2b
      alfrh02 authored
      + Added static, sine, and flickering light types
      * Cleaned up code
      * Moved debug UI into main UI window
      * Added adjustments for UI height depending on mode
      2025df2b
  20. Jan 01, 2025
    • alfrh02's avatar
      README · 53e8e2b1
      alfrh02 authored
      53e8e2b1
    • alfrh02's avatar
      a0.11_1 · b354441a
      alfrh02 authored
      + Added another canvas texture
      * Overhauled ImGui UI
        - Removed old tool icon
      * Cleared up some code & added some comments
      * README
        + Added git submodule instructions
        - Removed controls section
      b354441a
  21. Dec 29, 2024
    • alfrh02's avatar
      a0.11_0 · 697e42ce
      alfrh02 authored
      + Dear ImGui w/ Raylib wrapper (rlImGui)
      + Integrated basic ImGui UI - colour picker, etc.
      + Added keybind to toggle UI
      * Cleaned up some code
      697e42ce
  22. Dec 24, 2024
    • alfrh02's avatar
      a0.10_12 · 9ea90926
      alfrh02 authored
      * Tool text fades to full opacity rather than black
      * Removed .DS_Store & updated gitignore
      9ea90926
    • alfrh02's avatar
      Revert "a0.10_12" · 24d3407a
      alfrh02 authored
      This reverts commit b550edc5.
      24d3407a
    • alfrh02's avatar
      a0.10_12 · b550edc5
      alfrh02 authored
      + Tool text fades to full opacity rather than black
      - Removed accidental .DS_Store
      b550edc5
    • ahall001's avatar
      a0.10_11 · 5d51279d
      ahall001 authored
      * Fixed lighting issues on 1080p+ Macbook display
      5d51279d
  23. Dec 23, 2024
    • alfrh02's avatar
      a0.10_10 · c3288a53
      alfrh02 authored
      * Better Windows setup instructions;
      * Fixed lighting.frag - macOS & Windows unhappy with default arguments in GLSL functions
      * General code cleanup
      c3288a53
  24. Dec 22, 2024
    • alfrh02's avatar
      a0.10_9 Misc changes and big shader optimisation & cleanup · 09072ae4
      alfrh02 authored
      + added gradient check before light calculation;
      + circles now indicate where lights are located when in lighting mode;
      + added controls section to README;
      + added tool icon in lower-left for better usability;
      * renamed light.size to light.radius for clarity;
      * organised lighting.frag into functions;
      * changed to use 'out vec4 fragColor' rather than deprecated gl_FragColor;
      - removed uApple & uSmoothShadows shader uniforms (no more manual toggling of soft/hard shadows);
      09072ae4
  25. Dec 18, 2024