Skip to content

0.2.3

Latest

Choose a tag to compare

@bonohub13 bonohub13 released this 30 Aug 06:05
· 26 commits to main since this release

NOTE

This release requires you to remove the pre-existing shaders.
New shaders will be downloaded automatically when needle is running.

Files to erase.

  • Linux:
    • $HOME/.config/needle/shaders
  • Windows:
    • %APPDATA%\Roaming\bonohub13\needle\config\shaders

Changes

  1. Implemented transparent background (Added documentation for NVIDIA GPU users on Windows)
  2. Optimized rendering system
    • Implemented uniform buffer to change background color instead of flipping vertex buffer every frame. (Yes I was doing that 🤦 )
    • Unified vertex buffer and index buffer into a single buffer and accessed index buffer via an offset.
    • Changed implemented function into a inline constexpr as much as possible.
    • Replaced raw arrays that were used for coordinate and color with glm::VecX types.

通知

このリリースは既存シェーダーを削除することが必要です。
シェーダーを削除後にneedleを実行することで新しいシェーダーを自動的にダウンロードします。

削除対象ファイル

  • Linux:
    • $HOME/.config/needle/shaders
  • Windows:
    • %APPDATA%\Roaming\bonohub13\needle\config\shaders

変更内容

  1. 背景色に透明度を追加
  2. レンダリングシステムの最適化
    • 背景色を変更する仕組みにuniformバッファを使用するように変更
    • vertexバッファとindexバッファを単一バッファに統合 (indexバッファはバッファのオフセットでアクセス)
    • inline constexprに変更可能な関数をinline constexpr化
    • 位置と色を表すデータ型を配列からglm::VecXに変更

Full Changelog: 0.2.2-hotfix...0.2.3