PT LIGHT¶
Summary¶
A PT LIGHT lights the scene. Pick the kind of light with Type, set its Color and Strength, and place and aim it with the Xform page: like TouchDesigner's own lights, it shines along its −Z axis.
Larger lights give softer shadows: Radius, Size or, for the sun, Angle. A spot can project an image, and a Mesh light makes any POP glow. Affects Haze decides whether the light shows in the Pathtracer's haze. See Lights and environment.
Light page¶
Type Type - The kind of light. Like TouchDesigner's own lights, they shine along their −Z axis: turn the PT LIGHT to aim them.
- Point - Shines in all directions from one spot. Radius gives it a size, for softer shadows. The camera does not see it.
- Spot - A point light limited to a cone, which can project an image.
- Rectangle - A glowing rectangle of Size, like a softbox or a window.
- Disk - A glowing disc of Radius.
- Sphere - A glowing ball of Radius, like a bulb.
- Sun - Parallel light from infinitely far away, like sunlight.
- Mesh - Any POP, glowing all over its surface. Name it in Mesh.
Color Colorr Colorg Colorb - The colour of the light.
Strength Strength - How much light the light gives. A larger light is softer but not brighter. At the same Strength every Type lights a surface a few units in front of it about equally, so switching Type keeps the brightness: a Point, Spot or Sphere is as bright on its axis as a Rectangle or Disk, and a Sun as a Rectangle 4 units away.
Radius Radius - The size of a Point, Spot, Disk or Sphere light. Larger lights give softer shadows and broader highlights.
Size Sizew Sizeh - The width and height of a Rect light.
Cone Angle Coneangle - How wide the spot's cone opens from edge to edge, in degrees.
Cone Delta Conedelta - The angle inside the cone's edge over which the spot fades out. 0 gives a hard edge.
Cone Rolloff Conerolloff - The shape of the fade over Cone Delta. Higher values let it fall off sooner, gathering the light towards the centre. No effect when Cone Delta is 0.
Projector Map Projectormap - An image the spot projects into the scene, like a gobo or a slide projector.
Angle Angle - How large the sun appears, in degrees. Larger gives softer shadows. The real sun is about 0.5.
Mesh Mesh - The POP whose surface glows, for the Mesh type. It moves with the PT LIGHT and gives off light from the front of its faces, the side its normals point to.
Two-Sided Twosided - Lets a Rect, Disk or Mesh light shine from both sides of its surface, instead of only its front. Each side is as bright as the front alone, so the light gives off twice as much in all.
Visible to Camera Visible - Shows the light itself in the image. Off, the camera sees through it and it still lights the scene.
Affects Haze Haze - Makes the light visible in the Pathtracer's haze. Off, the light does not light the haze and reaches surfaces through it undimmed. A Mesh light always lights the haze.
About page¶
Help Help - Opens the page about the PT_LIGHT on pathtracer.josefpelz.com.