# nice looking effects

This topic is 3623 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

How can i render lines like those? It's called bloom or glow? they are probably not rendered using GL_LINE, it's some kind of sprite? I'm developing a 2d shooter and trying to add these effects on some projectiles like that Thanks, Arthur. [Edited by - arthurprs on July 18, 2008 4:26:48 PM]

##### Share on other sites
To get that glow effect you should take a look at this site:
http://www.gamasutra.com/features/20040526/james_pfv.htm

##### Share on other sites
Quote:
 Original post by davek20To get that glow effect you should take a look at this site:http://www.gamasutra.com/features/20040526/james_pfv.htm

I will take a look thanks.

##### Share on other sites
no for geowars im 99% sure theyre not doing a bloom
all it is are just plain textures
rendered with some additive blending mode

u can download a geowars clone + have a look at their assets

##### Share on other sites
Thanks guys, i will take a look.

##### Share on other sites
Quote:
 Original post by zedzno for geowars im 99% sure theyre not doing a bloomall it is are just plain textures rendered with some additive blending modeu can download a geowars clone + have a look at their assets

new info found on Grid Wars gfx folder

I think the lines are draw using this pic (or something similar), but there is a way to draw lines using a pic? :P
"glow.bmp"

the squares and other shapes it maked on PS and probably draw then with Add Blend Mode ;p

##### Share on other sites
can you use a 1 dimensions texture on a line, i have never tried it so i dunno...

##### Share on other sites
What do you mean by "lines"? Are you talking about the grid in the background?

It looks like it is made up of vertices aligned as a grid (and possibly drawn as line primitives or quadstrips as wireframe). Another reason why I think that is because it would make it a lot easier to do the special effects on the grid of vertices like the explosions and the "black hole" (where the grid get sucked into a single point).

##### Share on other sites
Quote:
 Original post by davek20What do you mean by "lines"? Are you talking about the grid in the background?It looks like it is made up of vertices aligned as a grid (and possibly drawn as line primitives or quadstrips as wireframe). Another reason why I think that is because it would make it a lot easier to do the special effects on the grid of vertices like the explosions and the "black hole" (where the grid get sucked into a single point).

Yes, the background grid and the lines that links some shapes
but, are you sure? Those lines look very smooth and beautifull :S

##### Share on other sites
Well, a commonly used technique is to render a textured quad instead of a line. It might as well be a quadstrip to produce nice looking line ends, i.e. use the "glow.bmp" and a 3-quad strip with texcoords y = 0 or 1 and x = 0, 0.5 or 1.

Example (texture coords u/v):

0/1--0.5/1-----0.5/1--1/1|   __|___________|_    ||  (__|___________|_)   ||     |           |     |0/0--0.5/0-----0.5/0--1/0

1. 1
2. 2
Rutin
19
3. 3
4. 4
5. 5

• 14
• 12
• 9
• 12
• 37
• ### Forum Statistics

• Total Topics
631426
• Total Posts
3000019
×