playMaker

Author Topic: Translation[SOLVED]  (Read 1841 times)

QFGlenn

  • Playmaker Newbie
  • *
  • Posts: 30
Translation[SOLVED]
« on: September 29, 2015, 08:24:02 PM »
Hi. I was wondering if there was a way playmaker could easily apply translation to two different float or int ranges.

For example. In my current scene I want to get distance. I want to use this distance to determine the value of a shader I made to transition skyboxes from day to night.

Value of the distance starts at like 500 let's say and goes to 0
Value of the shader goes from 0 to 1

I want to be able to use playmaker to assign this distance as a variable that handles the math so no matter what values I plug in it will know how to efficiently interpret the data.

Is this a good idea? Y/N
« Last Edit: October 05, 2015, 05:50:55 AM by jeanfabre »

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: PROPORTION
« Reply #1 on: September 30, 2015, 08:26:27 AM »