Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: protectwise/troika
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.44.0
Choose a base ref
...
head repository: protectwise/troika
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.45.0
Choose a head ref
  • 5 commits
  • 32 files changed
  • 1 contributor

Commits on Dec 17, 2021

  1. feat(troika-three-text): SDFs for all fonts are now stored in the sam…

    …e texture
    
    Currently at default settings this will hold at least 4096 glyphs, which should be more than enough for all but the most extreme cases.
    This is preparation for mixed-font text blocks, and for GPU-rendered SDFs.
    lojjic committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    7e871f7 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2021

  1. fix(createDerivedMaterial): propagate the base material's customProgr…

    …amCacheKey
    
    This fixes key collisions when using the same derivation on different base materials.
    lojjic committed Dec 29, 2021
    Configuration menu
    Copy the full SHA
    9c8c6b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c8c92fa View commit details
    Browse the repository at this point in the history
  3. perf(troika-three-text): avoid extra draw call on double sided materi…

    …als as of Three r130
    
    Three r130 introduced a "feature" which forces DoubleSide transparent materials to be
    rendered in two draw calls instead of one; there's no advantage to this for flat planes,
    and it can be a significant performance hit. This works around that by making the geometry
    two planes back-to-back, always rendered as FrontSide, and emulating the intended sidedness
    via drawRange.
    lojjic committed Dec 29, 2021
    Configuration menu
    Copy the full SHA
    6222ef3 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2022

  1. v0.45.0

    lojjic committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    a1ab2b3 View commit details
    Browse the repository at this point in the history
Loading