Skip to content

fix: warnings on the 3D as 2D shader#841

Merged
sindharta merged 1 commit into
masterfrom
fix-warnigns
Jun 16, 2026
Merged

fix: warnings on the 3D as 2D shader#841
sindharta merged 1 commit into
masterfrom
fix-warnigns

Conversation

@sindharta

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI 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.

Pull request overview

This PR addresses shader compiler warnings in the URP “Toon 3D as 2D” shader by replacing a legacy/incorrect texture sampling call with the URP/HLSL-compatible sampling macro.

Changes:

  • Replaced tex2D(...) usage with SAMPLE_TEXTURE2D(...) when sampling _OutlineTex in the outline fragment path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sindharta sindharta merged commit 3a2ea3d into master Jun 16, 2026
32 checks passed
@sindharta sindharta deleted the fix-warnigns branch June 16, 2026 05:17
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