mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-09-19 11:56:01 +08:00
Ray marching node finalized
This commit is contained in:
@ -52,8 +52,8 @@ This node is only simple ray marching example, the true power of raymarching can
|
||||
The default location can be found at<br>
|
||||
`res://addons/ShaderLib/RayMarching/RayMarchCustom.gdshaderinc`
|
||||
|
||||
You can copy the code from `RayMarchCustom.gdshaderinc` and then create a <b><i>Global Expression/i></b> node and paste it in your visual shader.<br>
|
||||
<br>
|
||||
Lastly you also need to create an <b><i>Expression/i></b> node, define required input and output parameters and call the custom ray marching function as below.<br>
|
||||

|
||||
You can copy the code from `RayMarchCustom.gdshaderinc` and then create a <b><i>Global Expression</i></b> node and paste it in your visual shader.<br><br>
|
||||
<br><br>
|
||||
Lastly you also need to create an <b><i>Expression</i></b> node, define required input and output parameters and call the custom ray marching function as below.<br><br>
|
||||
<br>
|
||||
___
|
||||
|
Reference in New Issue
Block a user