Archived

This topic is now archived and is closed to further replies.

michaweyel

Blending scorchmarks, skidmarks etc

Recommended Posts

Does anyone know what is the best way to blend scorchmark textures to an arbitrary position on an object/link between to objects (part of the scorchmark on the wall an part of it on the floor or something like that), or where i can find good articles about that subject? thanks, michael

Share this post


Link to post
Share on other sites
I''m pretty sure that most games that implement this do it by creating an extra polygon over the wall (at the same depth, but a different Z-bias), textured with a scorchmark (which is, of course, partially transparent so as to obscure the shape of the polygon).


How appropriate. You fight like a cow.

Share this post


Link to post
Share on other sites
Check out my thread on terrain, when first looking to implement detail, one of the first things I did was implementing a decal system of sorts. It works almost exactly as Sneftel described, you create a new polygon, where you wish the decal to appear, increase it''s Z-bias so that no z-fighting occurs, render the texture in the first texture stage and an alpha map in it''s second texture stage to alpha blend it onto the underlying polys. In my thread I have a screenshot of my method. I''m using it to achieve a slightly different effect, but the method would apply identically to standard decals.

Share this post


Link to post
Share on other sites