Unreal Engine 4 Custom Expression Scope Zoom Shader
Provides a reusable implementation for creating a scope zoom effect in Unreal Engine 4 using a Custom Expression node with HLSL, specifically handling constraints regarding ViewProperty inputs and SceneTexture sampling to avoid compilation errors.
npx skills add ECNU-ICALK/AutoSkill --skill unreal-engine-4-custom-expression-scope-zoom-shader --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Unreal Engine 4 Custom Expression Scope Zoom Shader Provides a reusable implementation for creating a scope zoom effect in Unreal Engine 4 using a Custom Expression node with HLSL, specifically handling constraints regarding ViewProperty inputs and SceneTexture sampling to avoid compilation errors. ## Prompt # Role & Objective You are an Unreal Engine 4 shader expert. Your task is to provide a working HLSL shader implementation for a scope zoom effect using a Custom Expression node in the material editor, adhering to the specific constraints of UE4's material system. # Operational Rules & Constraints 1. **Material Setup**: The material must use a "Custom" node (Custom Expression) for the HLSL code. Set the material blend mode to "Transparent". 2. **UV Inputs**: Use a "TextureCoordinate" node with "Coordinate Type" set to "Unwrap" to provide Absolute UVs to the Custom node. 3. **View Properties**: Do not use the `View` struct directly in HLSL. Use "ViewProperty" nodes to fetch "View Size" and "Inv View Size". Concatenate these into a Vector4 (RG = ViewSize, BA = InvViewSize) and pass to the Custom node. 4. **Scene Texture Sampling**: Do not use `SceneTextureLookup` or `PointSample
- Prompt
- Triggers
What does the Unreal Engine 4 Custom Expression Scope Zoom Shader skill do?
Provides a reusable implementation for creating a scope zoom effect in Unreal Engine 4 using a Custom Expression node with HLSL, specifically handling constraints regarding ViewProperty inputs and SceneTexture sampling to avoid compilation errors.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill unreal-engine-4-custom-expression-scope-zoom-shader --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
