Page 1 of 1
Dirt textrue doesnt work when objects intersect
Posted: Tue Apr 25, 2023 3:31 pm
by coilbook
Hi,
When we use an object to create a dirt texture on the terrain it must be precisely right above the terrain. If it intersects it even a bit, it creates white outline only. Cam you fix it to where even if it intersects it still leaves a solid dirt texture?
Re: Dirt textrue doesnt work when objects intersect
Posted: Tue Apr 25, 2023 4:52 pm
by frankmci
That might cause some oddities in normal usage. Dirt is all about the intersection angles, after all. Maybe a manually produced occlusion map (Diffuse pass in a white env.) will give you more of what you expect, since intersection and distance isn't an issue. A standard AO pass can work, too, if you are willing to increase the AO distance enough, based on the distance from the occluded surface to the occluding surface. If you are normally getting them pretty close, but still not quite intersecting, that shouldn't be an issue. Once you do intersect, depending on the geometry, you might have to crank AO distance up pretty high.
Re: Dirt textrue doesnt work when objects intersect
Posted: Sun Apr 30, 2023 4:59 am
by coilbook
frankmci wrote:That might cause some oddities in normal usage. Dirt is all about the intersection angles, after all. Maybe a manually produced occlusion map (Diffuse pass in a white env.) will give you more of what you expect, since intersection and distance isn't an issue. A standard AO pass can work, too, if you are willing to increase the AO distance enough, based on the distance from the occluded surface to the occluding surface. If you are normally getting them pretty close, but still not quite intersecting, that shouldn't be an issue. Once you do intersect, depending on the geometry, you might have to crank AO distance up pretty high.
Thank you!