Carm3D Posted September 16, 2017 Share Posted September 16, 2017 Hello, I am making a shotgun model.. Here's a look at the high resolution model. As you can see, the barrel has a fluted (holy) piece around it. I was modeling a low-poly version but these darn holes are introducing so many polygons. In my 3D software it has a thing called "clip maps" that are black and white images.. Whatever is mapped as white does not render. If I could make something like a clip map for this part of the gun, I could get away with so many fewer polygons. Is this possible in Leadwerks? Quote Link to comment Share on other sites More sharing options...
macklebee Posted September 16, 2017 Share Posted September 16, 2017 Well, you can do an alpha mask by simply making the holes in the texture full alpha and using an inherent alpha-related shader. Look at how the textures for leaves are done to see an example or the section regarding custom shaders in the Materials tutorial: https://www.leadwerks.com/learn?page=Tutorials_Editor_Materials Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Carm3D Posted September 16, 2017 Author Share Posted September 16, 2017 Ah yes... that works. Interesting how it can use the alpha in two different ways. Thank you! Quote 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.