cartesianToPolar

cartesianToPolar

filter
cartesianToPolar
RayTK
v0.40

Convert from cartesian space to various types of polar spaces.

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Conversion Runtime Semi-Baked
  • Spherical:
  • Cylindrical X:
  • Cylindrical Y:
  • Cylindrical Z:
  • Log-Cylindrical X:
  • Log-Cylindrical Y:
  • Log-Cylindrical Z:
Angle Unit Runtime Semi-Baked
  • Ratio (0..1):
  • Degrees:
  • Radians:

Inputs

  • definition_in: (required)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4 Sdf Ray Light Particle