Author Topic: cloud follow terrain  (Read 215 times)

Offline Dune

  • Member
  • *
  • Posts: 12287
  • Corkscrew Bird
    • www.ulco-art.nl
cloud follow terrain
« on: June 05, 2017, 02:35:59 PM »
Another strange thing that I don't understand; when putting a value in the Z of the localize cloud parameters, without checking localize (!), the cloud disappears. I'm trying to make fire follow terrain. I've got a decent setup with smoke and fire within one cloud layer, but the altitude restriction of the smoke logically won't work when following terrain, so I have to make another cloud layer for smoke.
In case you still haven't seen enough of my work: www.ulco-art.nl

Offline Matt

  • Planetside Staff
  • *
  • Posts: 2810
  • I'm the crazy one
Re: cloud follow terrain
« Reply #1 on: June 08, 2017, 08:51:41 PM »
When "move textures with cloud" is enabled, all of your shaders are translated, in this case by 1000 in the Z axis. This affects the shaders that are causing it to follow the terrain. If you want some shaders to be world space, but not all of them, you can use a Transform Input Shader with "use world space".

Matt
Just because milk is white doesn't mean that clouds are made of milk.

Offline Dune

  • Member
  • *
  • Posts: 12287
  • Corkscrew Bird
    • www.ulco-art.nl
Re: cloud follow terrain
« Reply #2 on: June 09, 2017, 06:45:37 AM »
Thanks Matt. I had the silly misconception that the parameters only had to do with the localizing feature, but I see the logic now.
In case you still haven't seen enough of my work: www.ulco-art.nl

 

anything