Neon
Photorealistic neon tube / 3D pipe effect driven by a custom shape
Props
Prop
Details
center{x: number, y: number}Default:
{"x":0.5,"y":0.5}Center position of the neon shape
center{x: number, y: number}Default: {"x":0.5,"y":0.5}Center position of the neon shape
scalenumberDefault:
1Scale of the neon shape (1 = default size)
scalenumberDefault: 1Scale of the neon shape (1 = default size)
colorstringDefault:
#00ddffPrimary neon tube color
colorstringDefault: #00ddffPrimary neon tube color
secondaryColorstringDefault:
#ff00aaShadow-side color for a two-tone / dual-lit pipe look
secondaryColorstringDefault: #ff00aaShadow-side color for a two-tone / dual-lit pipe look
secondaryBlendnumberDefault:
0.5Blend between mono (0) and two-tone (1) tube coloring
secondaryBlendnumberDefault: 0.5Blend between mono (0) and two-tone (1) tube coloring
glowColorstringDefault:
#00ddffColor of the outer glow / bloom
glowColorstringDefault: #00ddffColor of the outer glow / bloom
tubeThicknessnumberDefault:
0.2How far inward from the boundary the tube extends. Low = thin neon outline, high = thick 3D pipe
tubeThicknessnumberDefault: 0.2How far inward from the boundary the tube extends. Low = thin neon outline, high = thick 3D pipe
intensitynumberDefault:
1.5Overall brightness multiplier
intensitynumberDefault: 1.5Overall brightness multiplier
hotCoreIntensitynumberDefault:
0.6Bright white-hot center line — the gas discharge glow inside the tube
hotCoreIntensitynumberDefault: 0.6Bright white-hot center line — the gas discharge glow inside the tube
glowIntensitynumberDefault:
0.6Outer glow / bloom strength
glowIntensitynumberDefault: 0.6Outer glow / bloom strength
glowRadiusnumberDefault:
0.25How far the glow extends beyond the tube
glowRadiusnumberDefault: 0.25How far the glow extends beyond the tube
lightAnglenumberDefault:
300Directional light angle in degrees — controls 3D shading on the tube
lightAnglenumberDefault: 300Directional light angle in degrees — controls 3D shading on the tube
specularIntensitynumberDefault:
0.5Specular highlight brightness on the tube surface
specularIntensitynumberDefault: 0.5Specular highlight brightness on the tube surface
specularSizenumberDefault:
0.5Specular highlight size — 0 = tight pinpoint, 1 = broad sheen
specularSizenumberDefault: 0.5Specular highlight size — 0 = tight pinpoint, 1 = broad sheen
cornerSmoothingnumberDefault:
0.15Rounds sharp corners to mimic how real glass tubes curve at bends
cornerSmoothingnumberDefault: 0.15Rounds sharp corners to mimic how real glass tubes curve at bends
flickerSpeednumberDefault:
0Flicker animation speed — 0 = off, higher = faster sporadic on/off
flickerSpeednumberDefault: 0Flicker animation speed — 0 = off, higher = faster sporadic on/off
flickerAmountnumberDefault:
0.2How often the neon flickers off — 0 = always on, 1 = frequent outages
flickerAmountnumberDefault: 0.2How often the neon flickers off — 0 = always on, 1 = frequent outages
flowSpeednumberDefault:
0Flow animation speed — 0 = off, light rotates through the tube
flowSpeednumberDefault: 0Flow animation speed — 0 = off, light rotates through the tube
flowAmountnumberDefault:
0.3Strength of the flowing brightness variation — 0 = uniform, 1 = dramatic
flowAmountnumberDefault: 0.3Strength of the flowing brightness variation — 0 = uniform, 1 = dramatic
shapeShapeConfigDefault:
circleSDFShape to render — choose from 11 built-in analytical shapes or supply a custom SDF. See the Shape Effects guide for all available shapes and their options.
shapeShapeConfigDefault: circleSDFShape to render — choose from 11 built-in analytical shapes or supply a custom SDF. See the Shape Effects guide for all available shapes and their options.
shapeSdfUrlstringDefault:
""URL to a pre-generated SDF `.bin` file — when non-empty, activates SVG mode and triggers a shader recompile. See the Shape Effects guide for how to generate an SDF from an SVG.
shapeSdfUrlstringDefault: ""URL to a pre-generated SDF `.bin` file — when non-empty, activates SVG mode and triggers a shader recompile. See the Shape Effects guide for how to generate an SDF from an SVG.
Usage
<Shader>
<Neon
color="#00ddff"
:intensity="1.5"
/>
</Shader>