composeSdf
beta
Combine multiple SDFs using different combination modes into a single SDF.
This is essentially a replacement for long chains of combine
operators. Once you’ve set up all the inputs and combine modes, switch on the Optimize
setting which will compile down the generated code so that it runs much faster, but will make changes to settings much slower.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Optimize | |||
Enable 1 | |||
Input 1 | |||
| |||
Translate 1 | |||
Combine 1 | |||
| |||
Radius 1 | |||
Number 1 | |||
Offset 1 | |||
Enable 2 | |||
Input 2 | |||
| |||
Translate 2 | |||
Combine 2 | |||
| |||
Radius 2 | |||
Number 2 | |||
Offset 2 | |||
Enable 3 | |||
Input 3 | |||
| |||
Translate 3 | |||
Combine 3 | |||
| |||
Radius 3 | |||
Number 3 | |||
Offset 3 | |||
Enable 4 | |||
Input 4 | |||
| |||
Translate 4 | |||
Combine 4 | |||
| |||
Radius 4 | |||
Number 4 | |||
Offset 4 | |||
Enable 5 | |||
Input 5 | |||
| |||
Translate 5 | |||
Combine 5 | |||
| |||
Radius 5 | |||
Number 5 | |||
Offset 5 | |||
Enable 6 | |||
Input 6 | |||
| |||
Translate 6 | |||
Combine 6 | |||
| |||
Radius 6 | |||
Number 6 | |||
Offset 6 | |||
Enable 7 | |||
Input 7 | |||
| |||
Translate 7 | |||
Combine 7 | |||
| |||
Radius 7 | |||
Number 7 | |||
Offset 7 | |||
Enable 8 | |||
Input 8 | |||
| |||
Translate 8 | |||
Combine 8 | |||
| |||
Radius 8 | |||
Number 8 | |||
Offset 8 |
Inputs
-
SDF 1
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
Sdf
- Coordinate Types:
-
SDF 2
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
Sdf
- Coordinate Types:
-
SDF 3
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
Sdf
- Coordinate Types:
-
SDF 4
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
Sdf
- Coordinate Types:
-
SDF 5
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
Sdf
- Coordinate Types:
-
SDF 6
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
Sdf
- Coordinate Types:
-
SDF 7
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
Sdf
- Coordinate Types:
-
SDF 8
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
Sdf
- Coordinate Types: