Author Topic: smooth step,negative borders  (Read 303 times)

Offline mogn

  • Member
  • *
  • Posts: 437
smooth step,negative borders
« on: January 15, 2017, 11:02:05 AM »
As seen in the picture smooth steps delivers a constant of one
if the low and max are negative.

I might be wrong, I miss a convert x scalar.
 
« Last Edit: January 15, 2017, 12:20:22 PM by mogn »

Offline Dune

  • Member
  • *
  • Posts: 12203
  • Corkscrew Bird
    • www.ulco-art.nl
Re: smooth step,negative borders
« Reply #1 on: January 15, 2017, 12:32:23 PM »
Isn't this because the preview is only looking at Y=0?
In case you still haven't seen enough of my work: www.ulco-art.nl

Offline mogn

  • Member
  • *
  • Posts: 437
Re: smooth step,negative borders
« Reply #2 on: January 16, 2017, 09:44:47 AM »
The smooth step works as expected for negative borders.
But now I have a new problem.
My gradient (divide scalar 01) is build inside a null shader.
The input of the null shader is assigned to "divide scalar 01"
The output does not show the correct preview.

@Dune: The input to the smooth step is the distance from the origin
so positive and greater than the upper limit, so output one.
« Last Edit: January 16, 2017, 09:46:26 AM by mogn »

Offline Dune

  • Member
  • *
  • Posts: 12203
  • Corkscrew Bird
    • www.ulco-art.nl
Re: smooth step,negative borders
« Reply #3 on: January 16, 2017, 02:10:51 PM »
Isn't it easier/better to project the output on some hilly terrain, so you can see what it does in relation to Y?
In case you still haven't seen enough of my work: www.ulco-art.nl