Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Release 1.2.0 #29

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Release 1.2.0 #29

wants to merge 11 commits into from

Conversation

FarazzShaikh
Copy link
Member

@FarazzShaikh FarazzShaikh commented Apr 16, 2022

Running Changelog

  • [BREAKING] Remove the requirment of passing non-uniforms to args
    • This would cause re-renders and complicate the code
    • Abstract will now auto-generate setters/getters for non-uniforms and call refresh on the parent material when they change.
  • [BREAKING] Remove onParse in favor of:
    • onUniformsParse: Runs after uniforms are parsed
    • onNonUniformsParse: Runs after non-uniforms are parsed
    • onShaderParse: Runs after shaders are parsed and transformed
    • These callbacks must be Pure Functions
  • [BREAKING] Changes to debugger
    • Debugger renamed to LaminaDebugger
    • Debugger is not exported from lamina/debug
  • [BREAKING] Change debugger usage.
    • Debugger must now wrap <LayerMaterial />
    <LaminaDebugger>
        <LayerMaterial />
    </LaminaDebugger>
  • Fix unnecessary re-renders
  • Add Shader layer for inline definition of custom layers

TODO:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.