So today i made a bug report about the decals here: http://www.leadwerks.com/werkspace/tracker/issue-188-decals-issue/
Here is a demo, so you can test and reproduce the problem, please post your remarks in this post so it can maybe help Josh to solve this issue, thanks !
I
WSAD keys and mouse to move camera
Left Mouse Button to add a decal toward the camera direction
Then you can add some decals, and move the camera very close to the decals and see the hudge fps drop
If you have some Dll erros you may need this: http://www.microsoft.com/downloads/fr-fr/details.aspx?FamilyID=bd512d9e-43c8-4655-81bf-9350143d5867
Here is the code that i am using:
if(MouseDown(1))
{
TCamera _Camera = CRenderer::getInstance()->getMainCamera();
TPick _Picked;
CameraPick( &_Picked, _Camera, Vec3(GraphicsWidth() / 2, GraphicsHeight() / 2, 100), 0);
TMesh _Decal = CreateDecal(_Picked.surface, TFormPoint(Vec3(_Picked.X, _Picked.Y, _Picked.Z), NULL, _Picked.entity), 0.020f);
EntityParent(_Decal , _Picked.entity, 0);
PaintEntity(_Decal , LoadMaterial("abstract::bullethole.mat"));
UpdateMesh(_Decal);
AddMesh(_Decal , _Picked.entity);
}