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
- Implemented transparent background (Added documentation for NVIDIA GPU users on Windows)
- 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
変更内容
- 背景色に透明度を追加
- レンダリングシステムの最適化
- 背景色を変更する仕組みにuniformバッファを使用するように変更
- vertexバッファとindexバッファを単一バッファに統合 (indexバッファはバッファのオフセットでアクセス)
- inline constexprに変更可能な関数をinline constexpr化
- 位置と色を表すデータ型を配列からglm::VecXに変更
Full Changelog: 0.2.2-hotfix...0.2.3