Skip to content

Commit 70ff42a

Browse files
Tatamiclaude
andcommitted
fix: OptimizedShaderGeneratorの正規表現パターンを更新
- _BASE_MAP_TRI_TONE_ENABLEDを新しいキーワードに変更 - _BASE_MAP_TONE_MODE_TRITONE/_BASE_MAP_TONE_MODE_PENTONEに対応 - 最適化シェーダー生成時に新しいキーワードが正しく処理される 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 9dd9e05 commit 70ff42a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Assets/Nova/Editor/Core/Scripts/Optimizer/OptimizedShaderGenerator.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,8 @@ private static string OptimizeShaderPass(string shaderCode, string passName,
287287
@"_BASE_MAP_MODE_3D\b|" +
288288
@"_BASE_MAP_ROTATION_ENABLED\b|" +
289289
@"_BASE_MAP_CHANNEL_ENABLED\b|" +
290-
@"_BASE_MAP_TRI_TONE_ENABLED\b|" +
290+
@"_BASE_MAP_TONE_MODE_TRITONE\b|" +
291+
@"_BASE_MAP_TONE_MODE_PENTONE\b|" +
291292
@"_BASE_SAMPLER_STATE_POINT_MIRROR\b|" +
292293
@"_BASE_SAMPLER_STATE_LINEAR_MIRROR\b|" +
293294
@"_BASE_SAMPLER_STATE_TRILINEAR_MIRROR\b|" +

0 commit comments

Comments
 (0)