Jump to content

Recommended Posts

Posted

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

 

decalproblem.jpg

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.

×
×
  • Create New...