Author Topic: Distance scale interpolation curve  (Read 1451 times)

2018-05-14, 19:39:18

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8838
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I think CoronaDistance would benefit from having distance scale interpolation curve. Sometimes linear interpolation is just not enough. I know that it's possible to plug gradient ramp and use curve controls from it, but it's rather inconvenient to setup and probably not everyone even knows how to do it. Besides who knows how much of time penalty adds use of gradient ramp in a shader tree :]
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2018-05-14, 20:51:10
Reply #1

pokoy

  • Active Users
  • **
  • Posts: 1861
    • View Profile

2018-05-15, 14:27:00
Reply #2

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12754
  • Marcin
    • View Profile
The faster than gradient ramp solution is plugging it into a 3ds Max Output node, which has curve controls.
But I agree that adding a rollout similar to 3ds Max "Output" in most Corona maps would be a good idea. (maybe there are some counterarguments?)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2018-05-15, 14:57:38
Reply #3

pokoy

  • Active Users
  • **
  • Posts: 1861
    • View Profile
I think having more controls or a gradient would be a bit of an overkill. If I need to have exact gradient behavior, I can still use what you suggested. A simple 'Bias' or 'Gamma' parameter would be enough, and probably a very simple thing to add.