Distance to object in node editor


#1

Hi lightwavers. I have a simple question. How i can make a gradient with input parameter distance to object in node editor? Similar to gradient layer type in standart color slot for example. Thanks in advance:)


#2

I see two ways:

  • get item world position
  • subtract spot world position or another item world position
  • connect to gradient input
  1. Layers > Scalar Layer and pick up Layer Type Gradient…

#3

there is a video here that shows you as well:
http://www.newtek.com/lightwave/24hours_training.php


#4

Thanks :thumbsup:


#5

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.