Rick Posted October 1, 2016 Share Posted October 1, 2016 If you're using a decal to signify a selection of a character and your floor is s model then it seems you have to set it to draw on models. However this then makes it draw on your character as well. Is there a way to exclude an entity from having a decal drawing on it? Quote Link to comment Share on other sites More sharing options...
macklebee Posted October 1, 2016 Share Posted October 1, 2016 Decals are inherently only set to include/exclude based on object class - brush, model, or terrain. The only suggestion I can think of is trying to remove the 'decalmode' material flag portion of your character's shader file. Suggest saving and applying it as a separate shader name to the character's material file. I don't know if this will work, but if it does then it seems like setting the decal mode per entity would be more preferable than per class. Edit: It does work - just remove the decalmode lines from the shader file: if (decalmode==1) materialflags += 4;//brush if (decalmode==2) materialflags += 8;//model if (decalmode==4) materialflags += 16;//terrain 5 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...
Rick Posted October 1, 2016 Author Share Posted October 1, 2016 Thanks Mack! Quote Link to comment Share on other sites More sharing options...
Mattline1 Posted October 1, 2016 Share Posted October 1, 2016 Oh, this is useful information. Quote Website Twitter 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.