Movatterモバイル変換


[0]ホーム

URL:


ContentsMenuExpandLight modeDark modeAuto light/dark, in light modeAuto light/dark, in dark modeSkip to content
Blender 5.0 Manual
Logo
Blender 5.0 Manual

Getting Started

Sections

Get Involved

Back to top

Light Path Node

Light Path Node.

TheLight Path node is used to find out for which kind of incoming ray the shader is being executed;particularly useful for non-physically-based tricks. More information about the meaning of each typeis in theLight Paths documentation.

Inputs

This node has no inputs.

Properties

This node has no properties.

Outputs

Is Camera Ray

1.0 if shading is executed for a camera ray, otherwise 0.0.

Is Shadow Ray

1.0 if shading is executed for a shadow ray, otherwise 0.0.

Is Diffuse Ray

1.0 if shading is executed for a diffuse ray, otherwise 0.0.

Is Glossy Ray

1.0 if shading is executed for a glossy ray, otherwise 0.0.

Is Singular RayCycles Only

1.0 if shading is executed for a singular ray, otherwise 0.0.

Is Reflection RayCycles Only

1.0 if shading is executed for a reflection ray, otherwise 0.0.

Is Transmission RayCycles Only

1.0 if shading is executed for a transmission ray, otherwise 0.0.

Is Volume Scatter RayCycles Only

1.0 if shading is executed for a volume scatter ray, otherwise 0.0.

Ray LengthCycles Only

Distance traveled by the light ray from the last bounce or camera.

Ray Depth

Number of times the ray has been reflected or transmitted on interaction with a surface.

Note

Passing through atransparentshader does not count as a normal “bounce”.

Diffuse DepthCycles Only

Number of times the ray has gone through diffuse reflection or transmission.

Glossy DepthCycles Only

Number of times the ray has gone through glossy reflection or transmission.

Transparent DepthCycles Only

Number of times the ray has gone through a transparent surface.

Transmission DepthCycles Only

Number of times the ray has gone through a transmissive surface.A typical use case is to avoid black spots in the render (caused by rays hittingthe bounce limit) by switching from a transmissive to a diffuse shader past acertain point. SeeMix Shader.

Portal Depth:Cycles Only

Number of times the ray has passed through aRay Portal BSDF.

EEVEE Support

EEVEE has no real concept of rays, but in order to ease the workflow between Cycles and EEVEE,some of the outputs are supported in particular cases.

  • Is Camera: Supported.

  • Is Shadow: Supported.

  • Is Diffuse: Supported.

  • Is Glossy: Supported.

  • Is Singular: Not supported. Same asIs Glossy.

  • Is Reflection: Not supported. Same asIs Glossy.

  • Is Transmission: Not supported. Same asIs Glossy.

  • Ray Length: Distance from the camera to the shading point.

  • Ray Depth: Indicates the current bounce when baking the light cache.

  • Diffuse Depth: Same as Ray Depth but only when baking diffuse light.

  • Glossy Depth: Same as Ray Depth but only when baking specular light.

  • Transparent Depth: Not supported. Defaults to 0.

  • Transmission Depth: Not supported. Same asGlossy Depth.

Note

Is Glossy does not work with Screen Space Reflections/Refractionsbut does work with reflection planes (whether used with SSR or not).

On this page

[8]ページ先頭

©2009-2026 Movatter.jp