Jump to content

Background Seeps Around Edges


SpiderPig
 Share

Go to solution Solved by macklebee,

Recommended Posts

  • Solution

I do not see any vegetation shaders being used in these material files - does that mean you are hand placing these tree models into your scene and not using the vegetation tool? If you are using the vegetation tool available in the Terrain tool options, then I would recommend using vegetation shaders as well or you will get weird artifacts/shadows.

Also, zsort on the leaves' material is enabled - that will affects the shadows that occur on the leaves and maybe related to what you are seeing here? Also you are not using a shadow shader for the leaves' material.

Typical pine leaf material for a model that will be used with the vegetation tool:

//Leadwerks Material File

blendmode=0
castshadows=1
zsort=0
cullbackfaces=0
depthtest=1
pickmode=0
depthmask=1
diffuse=0.501960814,0.501960814,0.501960814,1.00000000
specular=0.000000000,0.000000000,0.000000000,0.000000000
alwaysuseshader=0
roughness=0.50000000000000000
mappingscale=1.00000000,1.00000000,1.00000000
drawmode=-1

shader="Shaders/Model/leaves.shader"
shader1="Shaders/Model/Shadow/shadow+alphamask.shader"
shader3="Shaders/Vegetation/leaves.shader"
shader4="Shaders/Vegetation/Shadow/leaves.shader"
texture0="./pine-leaf-fresh-diff.tex"
texture1="./pine-leaf-fresh-norm.tex"

 

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...