EDIT:
This is for anyone who stumbles across this topic in the future.
If Purebasic's built in terrain system still doesn't allow material scripts. You might want to check out my custom terrain generator.
http://www.purebasic.fr/english/viewtop ... 36&t=59954
Original Post:
Is it possible to replace the textures of AddTerrainTexture(#Terrain, Layer, WorldSize, DiffuseSpecularTexture$, NormalHeightTexture$) with a material script?
If it is possible how would one do this?
AddTerrainTexture() and material script?
AddTerrainTexture() and material script?
Last edited by Samuel on Sat Jan 31, 2015 5:51 pm, edited 1 time in total.
Re: AddTerrainTexture() and material script?
Hi Samuel
i have not tried it yet, but in the help file there is GetScriptTexture(#Texture, Name$) in Texture section. so this is in addition to the GetScriptMaterial(#Material, Name$)
i have not tried it yet, but in the help file there is GetScriptTexture(#Texture, Name$) in Texture section. so this is in addition to the GetScriptMaterial(#Material, Name$)
Re: AddTerrainTexture() and material script?
Hello applePi,
That sounds interesting. I'll give it a try and see what happens.
That sounds interesting. I'll give it a try and see what happens.

