Skip to content

【課題実装】 - #8

Open
matsutsutsu wants to merge 1 commit into
CyberAgentGameEntertainment:mainfrom
matsutsutsu:feat/heatDistortion
Open

【課題実装】#8
matsutsutsu wants to merge 1 commit into
CyberAgentGameEntertainment:mainfrom
matsutsutsu:feat/heatDistortion

Conversation

@matsutsutsu

Copy link
Copy Markdown

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1986c2a9cd

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

const half dist = length(d);

// Tangent direction (perpendicular to the radius vector)
const half2 tangent = half2(-d.y, d.x);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge 接線ベクトルにアスペクト比補正を適用する

16:9 など正方形でない画面では、UV 空間の X/Y が実ピクセル上で異なる尺度になるため、この未補正の接線ベクトルを使うと本来円形である回転ブラーが楕円状に歪みます。実際にビジュアルテストも FullHD で実行されるため、half2(_ScreenParams.y * rcp(_ScreenParams.x), 1.0h) などで接線方向を補正してください。

AGENTS.md reference: AGENTS.md:L7-L7

Useful? React with 👍 / 👎.

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.

1 participant