Itoo Software Forum

Author Topic: Change color by distance to camera?  (Read 161 times)

swavec

  • Newbie
  • *
  • Posts: 19
Change color by distance to camera?
« on: August 24, 2022, 09:30:19 AM »
Hi
Cant figure out how to make ForestColor map to tint objects that are far away from viewing direction. I have FP 7.1.2 and in effects library there is only tint by boundary , object or altitude.
Any ideas?

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2762
Re: Change color by distance to camera?
« Reply #1 on: August 24, 2022, 10:15:41 AM »
Hi,

Thanks for the question. Effects doesn't currently have the camera information exposed, but you can achieve this using the Tint By Object effect and selecting the Camera as the object.



That said, I'm attaching an improved version that adds a Minimum and Maximum distance as well as a falloff curve to make it more flexible. To use it, ensure the following:

- The Forest Colour map should have Tint Override = Disabled to allows Forest Pack to control the tint values.
- In the Forest Colour map, set the Blending mode to Normal.
- Use the Forest Colour map as a mask to blend between maps or materials as required
- In Forest Pack, set the Material > Random Tint > Random Strength >Min and Max to 100%

I hope that helps, please let me know if you have further questions.

Paul
Paul Roberts
iToo Software

swavec

  • Newbie
  • *
  • Posts: 19
Re: Change color by distance to camera?
« Reply #2 on: August 24, 2022, 10:31:23 AM »
Thanks for your reply. Can you attach 2015 max files ?

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2762
Re: Change color by distance to camera?
« Reply #3 on: August 24, 2022, 11:23:05 AM »
Sure, here you go.
Paul Roberts
iToo Software

swavec

  • Newbie
  • *
  • Posts: 19
Re: Change color by distance to camera?
« Reply #4 on: August 25, 2022, 10:08:27 AM »
Thank You. I think this is what i needed.