View Full Version : any thing for this in openGL
how can i create a transperent glow around a character in theopengl scene. is there any special feature supporting that ? like glFog() or some thing else? i want some thing like the glow around heros in warcraft3 GAME
or r there any libs supporting that?
No such function; no such library.
A fast trick is to use a vertex program to displace each vertex along its normal drawing the halo with zwrites disabled and then drawing the model in its standard way. Sometimes you may need to complicate this a bit.
03-04-2004, 02:41 AM
Another is to draw the emissive parts of an object into a small texture and blend that linearly filtered over your final scene, the blending and filtering of a small texture will make it blurry and glow-like.
Look at the glow effect here: http://developer.nvidia.com/object/cg_effects_explained.html
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.