History: Create outline around a character
Preview of version: 1
- «
- »
Here is a script of user Telchar, which shows how to create an outline around a character, which works without shaders.
Screenshot of this effect, used in the game Torchlight:
Copy to clipboard
material some/random/material/with/rim/effect { technique { pass { texture_unit { texture yourtexturehere.png } //rim lighting texture_unit { cubic_texture rim.dds combinedUVW tex_address_mode clamp colour_op_ex add src_texture src_current colour_op_multipass_fallback one one env_map cubic_normal } } } }
Download of file rim.dds:
http://www.ogre3d.org/forums/download/file.php?id=2022
Source:
http://www.ogre3d.org/forums/viewtopic.php?p=368918#p368918
Similar version:
http://www.ogre3d.org/forums/viewtopic.php?f=8&t=59079