Terrain Shader

Posted By: Kfoster825

Terrain Shader - 03/22/09 18:29

Greetings!

I was wondering what the best terrain shader is. I've tried terraintex3 that comes with Gamestudio, but three textures doesn't seem good enough. Is there a shader that uses 4 or 5?

Does anyone just create a skin in Gimp or Photoshop and use that instead of a shader?

I am a noob, and am just trying to figure out the best way to do things.....thanks for reading!
Posted By: Jaxas

Re: Terrain Shader - 03/23/09 12:26

yes, there's 5 texture shader in WIKI wink
Posted By: Enduriel

Re: Terrain Shader - 03/23/09 19:56

um, for Shader gurus out there, is it possible to have "texture splattering" through the alphas of textures with 3dgs, that is unlimited amount of textures blended on a terrain WITHOUT a realtime editor?

//Endu
Posted By: RedPhoenix

Re: Terrain Shader - 03/24/09 13:03

A7 contains multitexturing shaders for unlimited texture support since A7.5.

MATERIAL* mtl_terraintex which is defined in mtlFx.c
Posted By: Kfoster825

Re: Terrain Shader - 03/25/09 16:33

Yes....but how to implement it is the question!

(btw, thanks for the info)
Posted By: Nowherebrain

Re: Terrain Shader - 06/16/09 19:27

I know this is old, but I have asked similar questions....and I notice they never seem to get answered....
I myself am tring to figure out how to tile the textures, but clamp the alpha....???
Posted By: XD1v0

Re: Terrain Shader - 06/17/09 20:15

Quote:
tile the textures, but clamp the alpha....???

This terrain shader do that you want, in first stage shader draw alpha in terrain coordinates, then in next stage, draw color with transformation coordinates, also you can add this to shader for real alpha clamp
AddressU[0] = Clamp;
AddressV[0] = Clamp;
(see terraintex.fx)
Posted By: Nowherebrain

Re: Terrain Shader - 06/18/09 19:29


you see, cryptic, it is as if you think I know shader code... I do not.
I'm asking about terrain_multitex.fx(or the one with unlimited skins) it is included in mtlFX.c(or something like that....some one please give a clear(dummy type)of answer.....
oh this(mtl_terraintex which is defined in mtlFx.c)is the one I am reffering to.
Posted By: Nowherebrain

Re: Terrain Shader - 06/26/09 21:12

How do you tile the skins? Still asking, if anyone can help.
Posted By: Schmerzmittel

Re: Terrain Shader - 06/26/09 21:37

Hi there...

look here: http://manual.conitec.net/amaterial2.htm

Here are all explained. Scroll down the page. Its at the end.
Posted By: Nowherebrain

Re: Terrain Shader - 06/27/09 15:44

ok???? I need to be more clear...skill1-4 or 41-44...now I'm going to use 6-7 layers, just continue with skill1-7/skill41-47?
Thank you for your comment BTW.
Posted By: alienheretic

Re: Terrain Shader - 07/07/09 08:34

there is no information on how to tile using that fx file that i can see
however an answer for this would be a good thing
Posted By: Nowherebrain

Re: Terrain Shader - 07/11/09 06:56

I agree I have asked...hmmm...I guess this is the 3rd or 4th time and I get no response...I have even asked the developers.
(as in the thread, "ask the developers")
© 2024 lite-C Forums