ErhanK Posted July 30 Share Posted July 30 Hello. How can i stamp to terrain instead of using decals in Leadwerks 4.6 ? I'm trying to decal on the terrain, but something wrong witch decal shader. it looks very bad. Texture* greygrid = Texture::Load("Materials/Developer/greygrid.tex"); m_terrain->SetStampTexture(greygrid, 0, 0); m_terrain->AddStamp(2048, 2048, 0, 200, 200, 0, 1.0f, 1.0f, 1.0f, 1.0f); Console::Log("Stamp Applied"); //But it's not working Quote Link to comment Share on other sites More sharing options...
Josh Posted July 30 Share Posted July 30 Maybe your shaders are outdated? It's hard to tell without seeing the texture the decal uses. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
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.