Skip to content

Fix parallax map progress mode switching#157

Merged
CA-Tatami merged 1 commit into
mainfrom
fix/parallax-map-progress
Jul 23, 2025
Merged

Fix parallax map progress mode switching#157
CA-Tatami merged 1 commit into
mainfrom
fix/parallax-map-progress

Conversation

@CA-Tatami

@CA-Tatami CA-Tatami commented Jul 23, 2025

Copy link
Copy Markdown
Contributor

Summary

  • Parallax Mapのprogress計算でmodeによる分岐処理を追加
  • Base Mapと同様の実装パターンに統一

修正内容

ParticlesUberUnlit.hlslで、parallax mapのprogress設定時にmodeに応じた関数を使用するように修正しました:

  • _PARALLAX_MAP_MODE_2D_ARRAY: FlipBookProgressを使用
  • _PARALLAX_MAP_MODE_3D: FlipBookBlendingProgressを使用

Base Mapと同様に、Parallax MapでもmodeによってFlipBookProgressまたはFlipBookBlendingProgressを使い分けるように修正しました。

- _PARALLAX_MAP_MODE_2D_ARRAY: FlipBookProgressを使用
- _PARALLAX_MAP_MODE_3D: FlipBookBlendingProgressを使用

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@CA-Tatami CA-Tatami requested a review from S20817 July 23, 2025 08:55

@S20817 S20817 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

対応ありがとうございます!

@CA-Tatami CA-Tatami merged commit bcce886 into main Jul 23, 2025
1 check passed
@CA-Tatami CA-Tatami deleted the fix/parallax-map-progress branch July 23, 2025 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants