Skip to main content
added code markdown to the code & code-like constructs
Source Link
Pikalek
  • 12.5k
  • 5
  • 45
  • 52

Possibly found a simpler way without a custom function.

Use the Rotate About Axis NodeRotate About Axis Node and just set the AxisAxis you want to rotate around (vertical is Y) to 1 and others to 0.

Connect the ViewDirectionViewDirection Node to the InIn and the OutOut to the SampleCubeMap ViewDirSampleCubeMap ViewDir.

Possibly found a simpler way without a custom function.

Use the Rotate About Axis Node and just set the Axis you want to rotate around (vertical is Y) to 1 and others to 0.

Connect the ViewDirection Node to the In and the Out to the SampleCubeMap ViewDir.

Possibly found a simpler way without a custom function.

Use the Rotate About Axis Node and just set the Axis you want to rotate around (vertical is Y) to 1 and others to 0.

Connect the ViewDirection Node to the In and the Out to the SampleCubeMap ViewDir.

Source Link

Possibly found a simpler way without a custom function.

Use the Rotate About Axis Node and just set the Axis you want to rotate around (vertical is Y) to 1 and others to 0.

Connect the ViewDirection Node to the In and the Out to the SampleCubeMap ViewDir.