0
Færdig

Is it possible to shade color based on one axis' height?

Rolf 10 år siden opdateret af Freya Holmér (Developer) 10 år siden 1
I'm trying to make a textureless shader that colors a 3D graph/surface with a gradient and having difficulty. It's for a data visualization application. 

Svar

Svar
Færdig
This is more of a question for the forums, so, I'm closing this. Anyhow, here are some hints:

http://acegikmo.com/shaderforge/wiki/index.php?tit...
http://acegikmo.com/shaderforge/wiki/index.php?tit...

So what you probably want to do in this case, is to generate a gradient using the world position Y axis, if you want a gradient based on height :)
Svar
Færdig
This is more of a question for the forums, so, I'm closing this. Anyhow, here are some hints:

http://acegikmo.com/shaderforge/wiki/index.php?tit...
http://acegikmo.com/shaderforge/wiki/index.php?tit...

So what you probably want to do in this case, is to generate a gradient using the world position Y axis, if you want a gradient based on height :)

Kundesupport af UserEcho