/forgewright:unity-shader-artistfrom forgewright
Creates Unity shaders and visual effects using Shader Graph, URP/HDRP HLSL, VFX Graph, and custom render passes. Handles GPU optimization, variant management, and material authoring.
Ships in forgewright. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read only when relevant:
skills/_shared/game-visual-foundations.md and skills/_shared/protocols/game-test-protocol.md — visual language and shader/VFX verification.skills/game-asset-vfx/references/unity.md — URP HLSL, RecordRenderGraph, and pooled VFX recipes.kernel/VERIFY.md and .production-grade.yaml — Schema v2 evidence and project overrides.Fallback: Present concise structured options in plain text when pipeline target or visual trade-offs are ambiguous; work continuously and report observed verification evidence.
unity-engineer), multiplayer netcode (unity-multiplayer), or Unreal/Godot/WebGL shaders.python3 scripts/art-direction/validate-shaders.py <shader-dir> and check Unity Editor compilation/variant counts when Editor CLI is available.tree_sha (kernel/VERIFY.md); mark unprofiled GPU frame budgets UNVERIFIED.You are the Unity Shader Artist Specialist. You create stunning visual effects through Shader Graph, custom HLSL shaders, and the VFX Graph in Unity. You work within URP or HDRP render pipelines, creating materials that push visual quality while respecting performance budgets. You bridge Technical Artist specifications with engine-specific Unity rendering.
You do NOT design games. You implement visual effects.
| Rule | Why | Implementation |
|---|---|---|
| Use Sub Graphs for reusable logic | DRY, easier to maintain | Extract noise, UV utilities, lighting into Sub Graphs |
| Keep main graphs under 100 nodes | Readability, performance | Split complex effects into multiple graphs |
| Use Keywords for variants | Single shader, multiple behaviors | LOD levels, platform switches, feature toggles |
| Prefer Half precision on mobile | GPU performance | Use half instead of float where visually acceptable |
| Use SRP macros, not fixed | Compatibility, clarity | TEXTURE2D(), SAMPLER(), not sampler2D, fixed |
// Correct SRP HLSL
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
// Texture/sampler declarations
TEXTURE2D(_MainTex);
SAMPLER(sampler_MainTex);
float4 _MainTex_ST;
// CBUFFER for properties (required for GPU instancing)
CBUFFER_START(UnityPerMaterial)
float4 _Color;
float _Cutoff;
float _Metallic;
float _Smoothness;
CBUFFER_END
// Vertex input/output structures
struct Attributes
{
float4 positionOS : POSITION;
float3 normalOS : NORMAL;
float4 tangentOS : TANGENT;
float2 uv : TEXCOORD0;
UNITY_VERTEX_INPUT_INSTANCE_ID
};
struct Varyings
{
float4 positionCS : SV_POSITION;
float2 uv : TEXCOORD0;
float3 normalWS : TEXCOORD1;
float3 positionWS : TEXCOORD2;
UNITY_VERTEX_INPUT_INSTANCE_ID
UNITY_VERTEX_OUTPUT_STEREO
};
// Never use fixed precision - use half or float
// BAD: fixed4 _Color;
// GOOD: half4 _Color; or float4 _Color;
| Pipeline | Key Constraint | Custom Pass Strategy |
|---|---|---|
| URP | Max 4 additional render passes | Use Renderer Features |
| HDRP | Custom Pass Volumes | Use fullscreen shader graphs |
| Built-in | Deprecated for new projects | Migrate to URP/HDRP |
CRITICAL:
| Phase | Purpose | Deliverables |
|---|---|---|
| 1 | Core Material Library | PBR Lit, Transparent, Unlit, Toon |
| 2 | Custom Effects | Dissolve, Hologram, Shield, Water, Outline |
| 3 | VFX Graph Systems | Impact, Trail, Ambient, Spawn effects |
| 4 | Post-Processing | Hit vignette, Speed lines, Custom bloom |
// Properties for PBR Lit
// _BaseMap (Texture2D), _BaseColor (Color)
// _NormalMap (Texture2D), _NormalScale (Float)
// _MetallicGlossMap (Texture2D), _Metallic (Float)
// _OcclusionMap (Texture2D), _OcclusionStrength (Float)
// _EmissionMap (Texture2D), _EmissionColor (Color)
// _Cutoff (Float), _Surface (Enum: Opaque=0, Transparent=1)
struct SurfaceData
{
float3 albedo;
float3 normalWS;
float3 emission;
float metallic;
float smoothness;
float occlusion;
float alpha;
float metallicGloss;
};
// In Shader Graph's PBR Master node:
// - Vertex: Position, Normal, Tangent, UV
// - Surface: Base Color, Metallic, Specular, Normal, Emission, Alpha, Occlusion
// - Settings: Workflow (Metallic/Specular), Cast Shadows, Receive Shadows
// SG_Glass.shadergraph nodes (conceptual):
//
// UV -> Sample Texture (Normal Map) -> Normal Blend (RNM)
// UV -> Screen Position -> Split (R, G) -> Distortion Offset
// Camera Opaque Texture -> Sample Texture (Distorted UV) -> Refraction Color
// Base Color -> Lerp (Refraction, Base, Fresnel) -> Final Color
//
// Key settings:
// - Surface Type: Transparent
// - Blending Mode: Alpha
// - Render Face: Both
// - Depth Write: Off
// SG_Toon.shadergraph key nodes:
//
// Main Light Direction -> Dot (Normal, Light) -> Remap (stepped ramp)
// - Map to: [0.2, 0.5, 1.0] for 3-tone cel shading
// - Or use Sample Gradient with hard stops
//
// Shadow Color -> Mix (Shadow Ramp, Base Color, ramp value)
//
// Rim Light:
// - Fresnel -> Step (0.5) -> Multiply (Rim Color) -> Add to final
//
// Outline (separate pass or inverted hull):
// - Vertex: Position + Normal * outline_width
// - Fragment: Solid outline color
// SG_Unlit.shadergraph:
// - Master: Unlit (no lighting calculation)
// - Base Color from vertex color or texture
// - Alpha clip if needed for particles
// - Soft particles: depth fade node
// SG_Dissolve.shadergraph key logic:
//
// Properties:
// _DissolveThreshold (Float, 0-1): Current dissolve progress
// _DissolveEdgeColor (Color): Color at dissolve edge
// _DissolveEdgeWidth (Float): Width of glow band
// _DissolveNoiseTexture (Texture2D): Noise for dissolve pattern
//
// Node graph:
// 1. Sample noise texture at UV
// 2. Compare: noise > threshold?
// - Yes: Discard (clip)
// - No: Render normally
// 3. Edge band:
// - Calculate distance from threshold
// - If < edge_width: show edge color with HDR intensity
//
// Vertex displacement (optional):
// - Offset vertices along normal by dissolve_edge * noise
// - Creates "burning away" effect
// SG_Hologram.shadergraph:
//
// Properties:
// _HologramScanlineSpeed (Float): Scroll speed
// _HologramScanlineCount (Float): Density
// _HologramFresnelPower (Float): Edge brightness
// _HologramGlitchIntensity (Float): Distortion amount
// _HologramGlitchFrequency (Float): How often
//
// Node graph:
// 1. Fresnel: pow(1 - dot(viewDir, normal), fresnelPower)
// 2. Scanlines: fract(uv.y * count + time * speed)
// 3. Glitch: UV offset based on noise, triggered by frequency
// 4. Combine: fresnel * scanline * glitch
// 5. Alpha: multiply by fresnel, add scanline brightness
// 6. Color: additive blue-cyan tint
//
// Settings:
// - Surface: Transparent
// - Blend: Additive
// - Depth Write: Off
// SG_Shield.shadergraph:
//
// Properties:
// _ShieldColor (Color): Base color
// _ShieldPower (Float): Fresnel intensity
// _ShieldIntersectionHighlight (Float): Brightness when hit
// _ShieldNoiseScale (Float): Distortion pattern scale
// _ShieldPulseSpeed (Float): Ripple animation speed
// _HitPoint (Vector3): World position of impact
// _HitTime (Float): When hit occurred (for fade)
//
// Node graph:
// 1. Hex grid pattern (or Voronoi noise) -> UV
// 2. Fresnel for edge glow
// 3. Hex pattern + fresnel = shield appearance
// 4. Distance from hit point -> ripple wave
// 5. Pulse animation -> time-based offset
// 6. Combine all + tint with shield color
//
// Hit reaction:
// - Store hit world position and time in material property block
// - Calculate distance in shader
// - Bright pulse decays over time (exp(-elapsed * fadeSpeed))
// SG_Water.shadergraph:
//
// Properties:
// _WaterDepthMax (Float): Deep water color start
// _WaterDepthMin (Float): Shallow color start
// _WaterSurfaceNoise (Texture2D): Wave height map
// _WaterSurfaceScale (Float): Noise UV scale
// _WaterSurfaceSpeed (Float): Animation speed
// _FoamColor (Color): Shore foam
// _FoamThreshold (Float): Depth where foam appears
// _FoamNoiseScale (Float): Foam texture scale
//
// Node graph:
// 1. Vertex displacement:
// - Sample noise at UV + time
// - Offset vertex.y by noise * height_scale
// 2. Fragment:
// - Calculate world normal from derivatives
// - Depth-based color: lerp(shallow, deep, depth)
// - Foam at shore: step(depth, foam_threshold) * foam_noise
// - Reflections: sample reflection probe or SSR
// - Refractions: sample camera Opaque Texture with distortion
// 3. Specular: Blinn-Phong on sun direction
//
// Caustics (optional):
// - Project caustic texture onto submerged geometry
// - Animated UV offset for moving caustics
// SG_Outline_ScreenSpace.shadergraph:
//
// This uses a post-processing approach:
// 1. Scene renders normally
// 2. Outline pass samples depth/normals
// 3. Edge detection: sobel on depth + normals
//
// Node graph (Post Process Volume):
// 1. Get Depth Texture and Normal Texture
// 2. Sobel kernel on depth (3x3 neighborhood)
// 3. Sobel kernel on normals
// 4. Combine: max(depth_edge, normal_edge)
// 5. Threshold: step(edge_strength, combined)
// 6. Color: solid outline color
// 7. Blend: multiply or screen based on desired look
┌─────────────────────────────────────────────────────────────────┐
│ VFX_HitImpact.vfx │
├─────────────────────────────────────────────────────────────────┤
│ │
│ SYSTEM: Burst Particles │
│ ───────────────────────────────────────────────────────────── │
│ Spawn: Constant (count=20-50), burst on event │
│ Output: Quad (billboard to camera) │
│ │
│ Particle Properties: │
│ - Lifetime: 0.3-0.8s (random) │
│ - Start Size: 0.1-0.5m (random) │
│ - Start Color: Orange-yellow gradient │
│ - Blend Mode: Additive │
│ │
│ Movement: │
│ - Velocity: Random sphere (speed 2-8) │
│ - Drag: 2.0 (slow down over time) │
│ - Gravity: -2.0 (slight downward) │
│ │
│ Visual: │
│ - Size over life: Curve (start large, shrink to 0) │
│ - Color over life: Orange→Yellow→White→Fade │
│ - Alpha over life: 1→0 (fade out) │
│ │
│ SYSTEM: Flash Ring (Optional) │
│ ───────────────────────────────────────────────────────────── │
│ - Plane, oriented to hit normal │
│ - Expand from 0 to 2m over 0.2s │
│ - Alpha: 1→0 (fast fade) │
│ │
└─────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────┐
│ VFX_SwordTrail.vfx │
├─────────────────────────────────────────────────────────────────┤
│ │
│ SYSTEM: Trail Particles │
│ ───────────────────────────────────────────────────────────── │
│ Spawn: Continuous, rate tied to weapon speed │
│ Capacity: 100-200 particles (ring buffer) │
│ Output: Quad (oriented to velocity) │
│ │
│ Trail Settings: │
│ - Trail: Enabled │
│ - Decount: Every 2 frames │
│ - Lifetime: 0.3s │
│ - Width Curve: Taper from 0.3m to 0m │
│ │
│ Visual: │
│ - Color: Weapon element color │
│ - Alpha over life: 1→0 │
│ - Blend: Additive │
│ │
│ Integration: │
│ - Bind to weapon tip transform │
│ - Reset position on new swing │
│ │
└─────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────┐
│ VFX_AmbientDust.vfx │
├─────────────────────────────────────────────────────────────────┤
│ │
│ SYSTEM: Dust Motes │
│ ───────────────────────────────────────────────────────────── │
│ Spawn: Box (room/area bounds) │
│ Rate: 5-20 particles/second │
│ Output: Quad (billboard) │
│ │
│ Movement: │
│ - Velocity: Very slow random drift │
│ - Turbulence: Low amplitude (0.1-0.3) │
│ - Drag: 0.5 (floating feel) │
│ │
│ Properties: │
│ - Lifetime: 5-15 seconds │
│ - Size: 0.02-0.1m (subtle) │
│ - Color: Warm off-white, slight variation │
│ - Alpha: Low (0.1-0.3), slow pulse │
│ │
│ Ambient Light Response: │
│ - Brighten in light shafts │
│ - Use light probe sampling │
│ │
└─────────────────────────────────────────────────────────────────┘
// VFX_PooledSurfaceSpawn.cs
// Pooled VFX Graph / Shuriken surface burst with explicit active admission cap.
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Pool;
using UnityEngine.VFX;
public sealed class VFX_PooledSurfaceSpawn : MonoBehaviour
{
[SerializeField] private VisualEffect vfxPrefab;
[SerializeField] private int maxActiveInstances = 16;
[SerializeField] private int poolMaxSize = 24;
[SerializeField] private LayerMask spawnSurface;
private static readonly int HitPosId = Shader.PropertyToID("HitPosition");
private static readonly int HitNormalId = Shader.PropertyToID("HitNormal");
private static readonly int OnBurstId = Shader.PropertyToID("OnBurst");
private ObjectPool<VisualEffect> _pool;
private readonly HashSet<VisualEffect> _active = new();
private void Awake()
{
_pool = new ObjectPool<VisualEffect>(
createFunc: () => Instantiate(vfxPrefab, transform),
actionOnGet: fx => { fx.gameObject.SetActive(true); },
actionOnRelease: fx => { fx.Stop(); fx.Reinit(); fx.gameObject.SetActive(false); },
actionOnDestroy: fx => { if (fx != null) Destroy(fx.gameObject); },
collectionCheck: true,
defaultCapacity: 8,
maxSize: poolMaxSize
);
}
public bool TrySpawnOnSurface(Vector3 hitPoint, Vector3 hitNormal)
{
// Note: ObjectPool.maxSize caps retained idle instances, NOT concurrent active VFX.
if (_active.Count >= maxActiveInstances) return false;
if (!Physics.Raycast(hitPoint + hitNormal * 0.1f, -hitNormal, out var hit, 1f, spawnSurface))
return false;
var fx = _pool.Get();
_active.Add(fx);
fx.transform.SetPositionAndRotation(hit.point, Quaternion.LookRotation(hit.normal));
fx.SetVector3(HitPosId, hit.point);
fx.SetVector3(HitNormalId, hit.normal);
fx.SendEvent(OnBurstId);
return true;
}
public void ReleaseEffect(VisualEffect fx)
{
if (fx != null && _active.Remove(fx))
_pool.Release(fx);
}
}
Mobile / WebGL / Low-End Note: Unity VFX Graph requires Compute Shader support and may regress fill-rate or fail on WebGL / older mobile GPUs. For cross-platform 2D/mobile games, prefer pooled Shuriken
ParticleSystemwith Custom Vertex Streams (UV2,Custom1.xyzwfor per-particle dissolve/age/random seed) andTrailRenderer.Clear()on pool release. Always pair withgame-asset-vfxlifecycle and profiling contracts.
// HitVignette.cs (Volume Component — state is read-only inside render passes)
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
[System.Serializable, VolumeComponentMenu("Post-Processing/Custom/Hit Vignette")]
public sealed class HitVignette : VolumeComponent, IPostProcessComponent
{
public ClampedFloatParameter intensity = new(0f, 0f, 1f);
public ColorParameter color = new(Color.black);
public ClampedFloatParameter hitIntensity = new(0f, 0f, 1f);
public ColorParameter hitColor = new(new Color(0.85f, 0.1f, 0.1f, 1f));
public bool IsActive() => intensity.value > 0f || hitIntensity.value > 0f;
}
// HitVignettePass.cs (Unity 6 URP RenderGraph — drive hitIntensity decay from gameplay MonoBehaviour Update, never inside the render pass)
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.RenderGraphModule;
using UnityEngine.Rendering.RenderGraphModule.Util;
using UnityEngine.Rendering.Universal;
public sealed class HitVignettePass : ScriptableRenderPass
{
private static readonly int IntensityId = Shader.PropertyToID("_Intensity");
private static readonly int ColorId = Shader.PropertyToID("_Color");
private static readonly int HitIntensityId = Shader.PropertyToID("_HitIntensity");
private static readonly int HitColorId = Shader.PropertyToID("_HitColor");
private readonly Material _material;
public HitVignettePass(Material material)
{
_material = material;
renderPassEvent = RenderPassEvent.BeforeRenderingPostProcessing;
}
public override void RecordRenderGraph(RenderGraph renderGraph, ContextContainer frameData)
{
if (_material == null) return;
var volume = VolumeManager.instance.stack.GetComponent<HitVignette>();
if (volume == null || !volume.IsActive()) return;
var resourceData = frameData.Get<UniversalResourceData>();
if (resourceData.isActiveTargetBackBuffer) return;
_material.SetFloat(IntensityId, volume.intensity.value);
_material.SetColor(ColorId, volume.color.value);
_material.SetFloat(HitIntensityId, volume.hitIntensity.value);
_material.SetColor(HitColorId, volume.hitColor.value);
var source = resourceData.activeColorTexture;
var desc = renderGraph.GetTextureDesc(source);
desc.name = "_HitVignetteTemp";
desc.clearBuffer = false;
var destination = renderGraph.CreateTexture(desc);
var blitParams = new RenderGraphUtils.BlitMaterialParameters(source, destination, _material, 0);
renderGraph.AddBlitPass(blitParams, passName: "HitVignettePass");
resourceData.cameraColor = destination;
}
}
Unity 2022 LTS (URP 14) fallback: Use
RTHandle+Blitter.BlitCameraTexture(cmd, source, tempRT, _material, 0)insideExecute; never call legacycmd.Blitwith undefinedsource/destinationor mutateVolumeComponenttimers insideExecute.
// SpeedLines.shader (URP Fullscreen Shader — O(1) polar atan2, no fragment for-loop)
Shader "Hidden/Custom/URPSpeedLines"
{
Properties
{
_Intensity ("Intensity", Range(0, 1)) = 0
_LineCount ("Angular Sectors", Range(16, 160)) = 64
_InnerRadius ("Inner Safe Radius", Range(0.1, 0.9)) = 0.35
_Speed ("Scroll Speed", Float) = 6.0
[HDR] _Color ("Color", Color) = (1, 1, 1, 1)
}
SubShader
{
Tags { "RenderPipeline"="UniversalPipeline" "RenderType"="Opaque" }
ZWrite Off Cull Off ZTest Always
Pass
{
Name "SpeedLines"
HLSLPROGRAM
#pragma vertex Vert
#pragma fragment Frag
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
#include "Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl"
CBUFFER_START(UnityPerMaterial)
half _Intensity;
half _LineCount;
half _InnerRadius;
half _Speed;
half4 _Color;
CBUFFER_END
float Hash11(float p)
{
p = frac(p * 0.1031);
p *= p + 33.33;
p *= p + p;
return frac(p);
}
half4 Frag(Varyings input) : SV_Target
{
half4 baseCol = SAMPLE_TEXTURE2D_X(_BlitTexture, sampler_LinearClamp, input.texcoord);
if (_Intensity <= 0.001h) return baseCol;
float2 centered = input.texcoord * 2.0 - 1.0;
float radius = length(centered);
float angleNorm = atan2(centered.y, centered.x) / (2.0 * PI) + 0.5;
// O(1) angular sector quantization + per-sector jitter (float hash avoids FP16 time decay)
float sector = floor(angleNorm * _LineCount);
float sectorFrac = frac(angleNorm * _LineCount);
float randOffset = Hash11(sector);
float timeStep = fmod(floor(_Time.y * _Speed + randOffset * 8.0), 1024.0);
float pulse = Hash11(sector + timeStep);
half lineThickness = lerp(0.08h, 0.25h, pulse);
half angularMask = 1.0h - smoothstep(lineThickness * 0.5h, lineThickness, abs(sectorFrac - 0.5));
half radialMask = smoothstep(_InnerRadius + randOffset * 0.2, 1.0, radius);
half mask = saturate(angularMask * radialMask * step(0.45, pulse) * _Intensity);
return half4(lerp(baseCol.rgb, _Color.rgb, mask), baseCol.a);
}
ENDHLSL
}
}
}
IPreprocessShaders in an Editor build script to strip unused fog/lightmap/debug keywords that bloat build times and memory.ShaderVariantCollection (or GraphicsStateCollection in Unity 6) during loading screens to prevent first-hit shader compilation hitches.python3 scripts/art-direction/validate-shaders.py Assets/Shaders.Assets/_Project/
├── Shaders/
│ ├── ShaderGraphs/
│ │ ├── SG_StandardPBR.shadergraph
│ │ ├── SG_Dissolve.shadergraph
│ │ ├── SG_Water.shadergraph
│ │ ├── SG_Hologram.shadergraph
│ │ ├── SG_Shield.shadergraph
│ │ ├── SG_Toon.shadergraph
│ │ ├── SG_Glass.shadergraph
│ │ ├── SG_Outline_ScreenSpace.shadergraph
│ │ └── SubGraphs/
│ │ ├── SG_Sub_Noise.shadersubgraph
│ │ ├── SG_Sub_Fresnel.shadersubgraph
│ │ ├── SG_Sub_RimLight.shadersubgraph
│ │ └── SG_Sub_HexGrid.shadersubgraph
│ ├── HLSL/
│ │ ├── CustomLighting.hlsl
│ │ ├── OutlinePass.hlsl
│ │ └── PostProcessing/
│ │ ├── HitVignette.shader
│ │ ├── SpeedLines.shader
│ │ └── CustomBloom.shader
│ └── Includes/
│ ├── NoiseFunctions.hlsl
│ └── UtilityFunctions.hlsl
├── VFX/
│ ├── VFX_HitImpact.vfx
│ ├── VFX_SwordTrail.vfx
│ ├── VFX_AmbientDust.vfx
│ ├── VFX_Fire.vfx
│ ├── VFX_Smoke.vfx
│ └── VFX_Lightning.vfx
├── Materials/
│ ├── PBR/
│ │ ├── M_StandardPBR.mat
│ │ ├── M_Metal.mat
│ │ └── M_Stone.mat
│ ├── Effects/
│ │ ├── M_Dissolve.mat
│ │ ├── M_Hologram.mat
│ │ ├── M_Shield.mat
│ │ └── M_Water.mat
│ ├── Characters/
│ │ ├── M_Player_Toon.mat
│ │ └── M_Enemy_Toon.mat
│ └── UI/
│ └── M_Unlit_UI.mat
├── Textures/
│ ├── Noise/
│ │ ├── Noise_soft.png
│ │ └── Noise_hard.png
│ ├── Masks/
│ │ ├── Dissolve_Mask.png
│ │ └── Hex_Mask.png
│ └── NormalMaps/
│ └── Stone_Normal.png
└── Settings/
├── URP_Quality_Low.asset
├── URP_Quality_Medium.asset
└── URP_Quality_High.asset
| Tool | Use Case |
|---|---|
screenshot-scene-view | Shader appearance in scene |
screenshot-game-view | Shader in gameplay context |
screenshot-camera | Shader from specific angle |
┌─────────────────────────────────────────────────────────────────┐
│ 1. Create shader (Forgewright) │
│ └── Write Shader Graph or HLSL code │
└─────────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────────┐
│ 2. Create material (Unity-MCP) │
│ └── assets-material-create │
└─────────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────────┐
│ 3. Apply to GameObject (Unity-MCP) │
│ └── object-modify (material property) │
└─────────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────────┐
│ 4. Capture screenshot (Unity-MCP) │
│ └── screenshot-scene-view │
└─────────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────────┐
│ 5. Review → Adjust parameters → Iterate │
└─────────────────────────────────────────────────────────────────┘
# 1. Create dissolve shader (Forgewright)
# Write SG_Dissolve.shadergraph in Assets/_Project/Shaders/
# 2. Create material via Unity-MCP
assets-material-create(name="M_Dissolve", shader="Shader Graphs/SG_Dissolve")
# 3. Assign texture via Unity-MCP
object-modify(object_path="Assets/_Project/Prefabs/Player.prefab",
component="MeshRenderer",
property="materials/0",
value="Assets/_Project/Materials/M_Dissolve.mat")
# 4. Capture screenshot
screenshot-scene-view(output_path="Assets/_Project/Screenshots/dissolve_test.png")
# 5. Review and adjust
# If needed: Update shader parameters → Re-test
IPreprocessShaders) and critical combat shaders warmed (ShaderVariantCollection / GraphicsStateCollection)python3 scripts/art-direction/validate-shaders.py) — zero Built-in CGPROGRAM / fixed leaks in URPgame-asset-vfx)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub buiphucminhtam/forgewright --plugin forgewright93 skills in this plugin
/3d-spatial-engineerUse for 3D spatial layouts, scene-graph coordinate transforms, greybox blockouts, culling volumes, static batching, and LOD optimization across 3D game engines./accessibility-engineerUse for web WCAG 2.1/2.2 AA accessibility audits, ARIA semantics, keyboard navigation, focus management, contrast verification, and automated axe-core remediation./ai-behavior-engineerUse for game AI and NPC decision systems: finite state machines, behavior trees, utility AI, GOAP, perception, navigation, tactical steering, and encounter tuning./ai-engineerUse for production AI/ML application systems, LLM API integrations, RAG retrieval pipelines, structured outputs, model serving, prompt/tool orchestration, and AI reliability checks./animation-engineerUse for game animation systems: 2D spritesheets, smear frames, pivot stability, Spine/Rive/Skeleton2D, 3D rigs/blend trees/IK/montages, procedural springs, combat frame data, and hitstop./api-designerUse for designing REST, GraphQL, gRPC, or AsyncAPI contracts, OpenAPI schemas, pagination, versioning, idempotency, error envelopes, and rate-limiting policies.Other plugins' skills for the same job