Planetside Software Forums

General => Terragen Discussion => Topic started by: MortalSphere on October 27, 2009, 12:07:30 PM

Title: I need a surface layer to stay within a heightfield shader.
Post by: MortalSphere on October 27, 2009, 12:07:30 PM
I would like to create several heightfield shaders on one planet that have independent surface layers.

Is this possible?
Title: Re: I need a surface layer to stay within a heightfield shader.
Post by: inkydigit on October 27, 2009, 01:10:43 PM
not sure, what about using the distance shader with the camera placed at the centre of your required terrain, as the blend shader for the specific surface layers?
Title: Re: I need a surface layer to stay within a heightfield shader.
Post by: cyphyr on October 27, 2009, 01:49:09 PM
Quote from: MortalSphere on October 27, 2009, 12:07:30 PM
I would like to create several heightfield shaders on one planet that have independent surface layers.

Is this possible?

If you right click on the heightfield shader you can save the file as a .ter. You can also save it as an .exr which you could open up in photoshop (or similar) change into a normal .bmp and then use that as a blendshader for your individual surface layers. As long as the image shader is set to "Plan y" and the dimensions and positions match your initial heightfields then you will have a surface layer for each heightfield. :)
hope that helps
Richard
Title: Re: I need a surface layer to stay within a heightfield shader.
Post by: inkydigit on October 27, 2009, 01:57:30 PM
Quote from: cyphyr on October 27, 2009, 01:49:09 PM
Quote from: MortalSphere on October 27, 2009, 12:07:30 PM
I would like to create several heightfield shaders on one planet that have independent surface layers.

Is this possible?

If you right click on the heightfield shader you can save the file as a .ter. You can also save it as an .exr which you could open up in photoshop (or similar) change into a normal .bmp and then use that as a blendshader for your individual surface layers. As long as the image shader is set to "Plan y" and the dimensions and positions match your initial heightfields then you will have a surface layer for each heightfield. :)
hope that helps
Richard
using the image map shader, surely a white square would suffice?
Title: Re: I need a surface layer to stay within a heightfield shader.
Post by: cyphyr on October 27, 2009, 02:05:02 PM
It would indeed but (or maybe "and") using both might give better or more interesting coverage :)
Richard
Title: Re: I need a surface layer to stay within a heightfield shader.
Post by: inkydigit on October 27, 2009, 02:53:27 PM
Quote from: cyphyr on October 27, 2009, 02:05:02 PM
It would indeed but (or maybe "and") using both might give better or more interesting coverage :)
Richard
true!
:)
Title: Re: I need a surface layer to stay within a heightfield shader.
Post by: MortalSphere on October 27, 2009, 04:10:19 PM
So if I'm following you guys correctly that blendshader then mask out only one surface layer? And then I could create another blendshader to mask out a different surface layer? I guess I should open up Terragen and try it out.
Title: Re: I need a surface layer to stay within a heightfield shader.
Post by: inkydigit on October 27, 2009, 05:54:10 PM
you can use it on as many layers as you need for that specific terrain
:)
Title: Re: I need a surface layer to stay within a heightfield shader.
Post by: Jack on October 28, 2009, 05:08:33 PM
or you can just do a rough yet quick mask with a simple paint shader