tjheldna Posted September 18, 2015 Share Posted September 18, 2015 Is there a way to make a decal do a one time projection? If not... I want to project a moss material onto a wall for variation, however if the player moves in front of the decal the texture gets projected onto the player. I can move a decal close to the wall and scale it but it's not a great solution. If it currently isn't possible could we have a way to set a decal to do a one time projection when the world loads? Then everything else afterwards are not be effected if they cross paths with that decal. Cheers 1 Quote Link to comment Share on other sites More sharing options...
Josh Posted September 18, 2015 Share Posted September 18, 2015 You can set whether the decal appears on brushes, models, and terrain in the editor or with this command: http://www.leadwerks.com/werkspace/page/api-reference/_/decal/decalsetrendermode-r899 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...
tjheldna Posted September 18, 2015 Author Share Posted September 18, 2015 Yeah that is cool, but if my level geometry is a model too (which for now it's a brush but that's just a stand in) that solution wont work. Quote Link to comment Share on other sites More sharing options...
Josh Posted September 19, 2015 Share Posted September 19, 2015 Decals are basically lights so there isn't an easy way to change that behavior. This is why I initially had that complicated "decal mode" setting no one understood, while it was in development. Other than hacking the shaders there is no way around it. 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...
Haydenmango Posted September 19, 2015 Share Posted September 19, 2015 I have been having similar issues when using decals on scenery. I was thinking that if you give a decal a parent that it should only project itself onto its parent. That might be a nice work-around if it is possible. 2 Quote Check out my game Rogue Snowboarding- https://haydenmango.itch.io/roguesnowboarding 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.