Is it possible to feed XZ co-ordinates into the input of a get position in texture node, with the aim of limiting/masking the area affected by susequent nodes? if that makes any sense to anybody :-\
or to put it another way - is there a way of masking using only function nodes - perhaps using conditionals. So that only a specified area of the landscape is affected by say modoesque spikes?
Well, I doubt that the input of the get position will do any significant. But want to be proofed wrong ,-)
With functions: The output of the 'get position' can be converted to the scalars X,Y,Z.
You can use two conditionals for setting a range for each scalar:
If X is larger than i.e. 1000 (m) then ... if X is smaller than i.e. 2000 (m)
Of course instead of the values (1000 and 2000) a function can be used.
Else, I would do it more random ... multiplying the 'get position' output with a large scaled, high contrasting powerfractal.
thanks Volker - lots to think about. will feed back any success I have
Mick
Yes, you use the output of get position and then compare it to your XZ values using functions.
Some examples:
http://forums.planetside.co.uk/index.php?topic=1520.msg15046#msg15046 (http://forums.planetside.co.uk/index.php?topic=1520.msg15046#msg15046)
http://forums.planetside.co.uk/index.php?action=profile;u=1771 (http://forums.planetside.co.uk/index.php?action=profile;u=1771)
http://forums.planetside.co.uk/index.php?topic=1537.msg15236#msg15236 (http://forums.planetside.co.uk/index.php?topic=1537.msg15236#msg15236)
http://forums.planetside.co.uk/index.php?topic=2036.msg20030#msg20030 (http://forums.planetside.co.uk/index.php?topic=2036.msg20030#msg20030)