0
Завершен

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

Rolf 10 лет назад обновлен Freya Holmér (Developer) 10 лет назад 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. 

Ответ

Ответ
Завершен
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 :)
Ответ
Завершен
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 :)

Сервис поддержки клиентов работает на платформе UserEcho