PIX Content Nodes

Metal A PIX Content Node
Write Metal shader code. (No Inputs)


Parameters


Shader Code

The fragment shader code.
- Text: float spike_u = 1 - abs(u * 2 - 1); float spike_v = 1 - abs(v * 2 - 1); float spike = pow(spike_u * spike_v, 3); float r = spike * in.red; float g = spike * in.green; float b = spike * in.blue; return float4(r, g, b, 1.0);


Uniform A Uniform

- Default: 1.0


Uniform B Uniform

- Default: 0.25


Uniform C Uniform

- Default: 0.0


Uniform D Uniform

- Default: 0.0


Uniform E Uniform

- Default: 0.0


Uniform F Uniform

- Default: 0.0


Uniform G Uniform

- Default: 0.0


Uniform H Uniform

- Default: 0.0


Remove Button

- Info: Remove uniform


Add Button

- Info: Add uniform


Console Button

The logs for debugging your shader.
- Info: Show


Premultiplied Alpha Toggle

Multiplies the color of each pixel with the alpha.
- Default: true


Resolution Array List

- Default: 540p
- Options: 540p, 720p, 1080p, iPad in Portrait, iPad in Landscape, iPad 10.2‑inch in Portrait, iPad 10.2‑inch in Landscape, iPad Pro 10.5‑inch in Portrait, iPad Pro 10.5‑inch in Landscape, iPad Pro 11‑inch in Portrait, iPad Pro 11‑inch in Landscape, iPad Pro 12.9‑inch in Portrait, iPad Pro 12.9‑inch in Landscape, 128x128, 256x256, 512x512, 1024x1024, 2048x2048, Custom


Resolution Width Step

The resolution width in pixels.
- Default: 960
- Min: 1.0, Max: 3000.0


Resolution Height Step

The resolution height in pixels.
- Default: 540
- Min: 1.0, Max: 3000.0


Limited Resolution Button

Limited to the bounds of 1000x1000
- Info: Unlock HD Resolution


Pixel View Interpolation Array Segment

Interpolation mode of the pixels. Visible in low resolution textures. This will not effect the output.
- Default: Linear
- Options: Linear, Trilinear, Nearest