Dan Posted January 26, 2010 Share Posted January 26, 2010 I am trying to finalize my FPS shooter additions in the editor and I am having a problem with decals. The decals are being applied correctly, but as each additional decal appears on a model, the material starts get a rainbow-like sheen to it. It appears that it has something to to with the Modulate 2X setting, because when I change it, it goes away. But...I like the effect of the default bullet hole decal so I would like to use it. has anyone experiences this issue before? Is another shader causing this effect? Any help would be appreciated. Below is the script that I'm using and I'm applying the default decal from the editor. decal=CreateDecal(pick.surface,TFormPoint(pick.position,nil,pick.entity),1.0/32,64) if decal~=nil then decal:SetParent(pick.entity,0) decal:Paint(material_bulletDecal) decal:SetColorf(1.0,1.0,1.0,1) end Quote Windows XP SP3 Intel Core2 Extreme 3GHz 2GB DDR2 RAM 2x NVIDIA GeForce GTX 280 in SLI Link to comment Share on other sites More sharing options...
wh1sp3r Posted January 26, 2010 Share Posted January 26, 2010 looks like, It's very very old bug in shader and somewhere on the old forum is an answer i will try to find it. EDIT: got it: http://forum.leadwerks.com/viewtopic.php?f=37&t=3470&hilit=decal Quote -= Phenom II X4 965 3.4Ghz - ATI HD5870 - 6 GB DDR3 RAM - Windows 8 Pro 64x=- Website: http://www.flamewarestudios.com Link to comment Share on other sites More sharing options...
Dan Posted February 3, 2010 Author Share Posted February 3, 2010 looks like, It's very very old bug in shader and somewhere on the old forum is an answer i will try to find it. EDIT: got it: http://forum.leadwerks.com/viewtopic.php?f=37&t=3470&hilit=decal Thanks!!! That worked. Quote Windows XP SP3 Intel Core2 Extreme 3GHz 2GB DDR2 RAM 2x NVIDIA GeForce GTX 280 in SLI 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.