This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:raytype_comp [2019/01/29 14:24] – lightwolf | tools:raytype_comp [2020/04/30 21:33] (current) – [Check for] lightwolf | ||
---|---|---|---|
Line 3: | Line 3: | ||
{{ : | {{ : | ||
- | Thus node is only available in a node editor context where raytracing is available. It will check the current (incoming) ray for specific properties and return true if they match. | + | This node is only available in a node editor context where raytracing is available. It will check the current (incoming) ray for specific properties and return true if they match. |
The incoming ray is the ray evaluating the current surface spot. | The incoming ray is the ray evaluating the current surface spot. | ||
Line 17: | Line 17: | ||
These two columns are ray properties to check for. The first column depends on the type of ray, the second column covers additional properties. | These two columns are ray properties to check for. The first column depends on the type of ray, the second column covers additional properties. | ||
- | The types of ray are mutually exclusive. A ray can only be on of these type, but not a combination of them: | + | The types of ray are mutually exclusive. A ray can only be one of these types, but not a combination of them: |
* **Reflection** The current spot is shaded for a reflection. | * **Reflection** The current spot is shaded for a reflection. | ||
Line 37: | Line 37: | ||
* **Some** Checks if any of the ray types and properties are set. | * **Some** Checks if any of the ray types and properties are set. | ||
- | * **All** Checks if all of the ray types and properties are set. Please | + | * **All** Checks if all of the ray types and properties are set. Please |
* **None** This is the opposite of **Some** and will only return true if none of the types and properties are set for the current ray. | * **None** This is the opposite of **Some** and will only return true if none of the types and properties are set for the current ray. | ||