Karadag Posted July 30, 2024 Posted July 30, 2024 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
Josh Posted July 30, 2024 Posted July 30, 2024 Maybe your shaders are outdated? It's hard to tell without seeing the texture the decal uses. Quote Let's build cool stuff and have fun.
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.