Graphics effect is an video effect which requires non-trivial usage of a standard graphics library calls, or custom graphics processing algorithms like shaders to achive required result.

learn more… | top users | synonyms

46
votes
4answers
19k views

How is 2D lighting implemented?

I am wondering what the best way to approach a "lighting" effect in 2D games is. For instance, if my main character is glowing, what techniques can I use to complete the visual effect of the character ...
30
votes
3answers
5k views

What is the purpose of the stencil buffer ? More precisely, what is a stencil in computer graphics?

I read the stencil word a lot, and I don't have a clue what is its real purpose in computer graphics. Seeing the picture in black and white on wikipedia, I'm still having problem with it. Why do we ...
24
votes
10answers
2k views

Effects to make a speeding spaceship look faster

I have a spaceship and I've created a "boost" functionality that speeds up my spaceship, what effects should I implement to create the impression of high speed? I was thinking of making everything ...
18
votes
3answers
5k views

How to achieve a Neon-Light effect?

I'm wondering how to achieve a neon-light type effect. For example, in Pac-Man Chamipnship Edition: Or in Geometry Wars: Is that a Bloom Effect? Or what techniques would I have to look for?
16
votes
1answer
868 views

What is the math behind the light effect in krakatoa?

I'd like to know the math behind the light effect in krakatoa (click here for an example). Light source is traveling with particles, but how is shading done? Is it something simple, like Phong ...
15
votes
4answers
2k views

Effects for Programmers [closed]

Does anyone have any good resources for creating special effects, aimed at programmers. I'm not specifically interested in particle effects, but broader things like: Fullscreen effects, blur, depth ...
14
votes
2answers
3k views

Creating an electricity/lighting/tesla coil effect in a 2D XNA game?

I'd like to create beams of electricity between two points very similar to this video: http://www.youtube.com/watch?v=eMJ8-56L3Lc. The effect is so dynamic, with varying lengths and pseudo-random ...
13
votes
3answers
3k views

How would I implement an endless road the player runs down?

I want to create the illusion that a man is running down a long road i.e. this pic http://camlinecambridgelimited.web.officelive.com/images/road%20graphic1.jpg If you have played Temple Run on the ...
12
votes
5answers
4k views

Examples of faking 3D

Does anyone know of any good examples of 3D being faked in 2D (not necessarily code, but games I could look up)? The player has the perspective that they are going 'into' the screen and things are ...
12
votes
1answer
455 views

How to implement fake 3D like distortion effects for a 2D side scrolling game?

I'm not certain of the proper terms to search on or even where to begin though I imagine it is some sort of post processing effect. I've seen games like I Wanna Be The Boshy and You Have To Win the ...
11
votes
1answer
420 views

Breathing for game/movie characters

Breathing (the movement of chest and face features): I'd like to ask if it is hard to model and whether it is computationaly expensive. I recently noticed the great effect it has in Madagascar 3 ...
11
votes
1answer
6k views

How do I create a cel-shaded cartoon look?

I am interested in everything related to this kind of effect (modeling, game engine, animation). What sort of stuff is needed? Here are some sample images of what I mean:
11
votes
2answers
2k views

Realistic metal shader

How do you create a good metal shader? For different metals and say more or less eroded / rusty and so on. I know that one difference from ordinary materials is that metal should 'colour' the ...
10
votes
2answers
2k views

How do I replicate the warp effect from Geometry Wars?

I'm trying to achieve the warp effect that you see in games like Geometry Wars. Can someone help explain what is going on here? I feel like the grid's z axis is manipulated in some way, any way, by ...
9
votes
3answers
956 views

How to do the Geometry Wars gravity well effect

I'm not talking about the background grid here, I'm talking about the swirly particles going around the Gravity Wells! I've always liked the effect and decided it'd be a fun experiment to replicate ...
8
votes
1answer
860 views

Any good books on graphics programming?

I've been looking for a book that takes a bottom-up approach for graphics programming. So something that starts with 2d filtering, maybe moving into normal mapping, then ambient occlusion, etc. I ask ...
8
votes
2answers
467 views

How do display a “mucus spreading” effect in a 2D environment?

Here is an example of such a mucus spreading. The substance is spread around the source (in this example, the source would be the main alien building). The game is starcraft, the purple substance ...
8
votes
2answers
913 views

Is it possible to fake blur via images?

I'm using libGDX for an android game; as far as I can tell, it doesn't have an API for blurring. Reading on Wikipedia, it seems like blur is formed by setting each pixels RGB values to the average of ...
8
votes
1answer
434 views

How are advanced graphics effects implemented?

I'm curious how 3D effects like spells in Warcraft or Torchlight are implemented graphically. I just finished a book on Direct3D and feel pretty comfortable with it and 3D graphics in general, but I ...
8
votes
3answers
1k views

How to create the “drunk camera” effect in GTA 4?

If you have played GTA 4, then you have probably been drunk at some stage. This is one of the best intoxicated simulators I have ever seen. It is actually hard or sometimes almost impossible to drive ...
7
votes
3answers
791 views

How can I implement an Iris Wipe effect?

For those who doesn't know: An iris wipe is a wipe that takes the shape of a growing or shrinking circle. It has been frequently used in animated short subjects, such as those in the Looney ...
7
votes
1answer
750 views

How to make a 3d beam effect with XNA 4.0?

Do you know any demo or tutorial to learn to make a 3D Beam effect? I have learn to make a 2D laser by simply using a texture and moving it thru screen. But I am a little bit lost while trying to do ...
6
votes
3answers
694 views

Create a trailing, ghosting effect of a sprite

I want to create a trailing, ghosting like effect of a sprite that's moving fast. Something very similar to this image of Sonic (apologies of bad quality, it's the only example I could find of the ...
6
votes
3answers
1k views

Where can I find examples of demoscene-like pixel art effects?

I will keep this simple. The question pretty much sums up what I am looking for. Where are some locations for 2D effects. Specifically ones like those used in old Amiga demos. They do not need to have ...
6
votes
3answers
320 views

How can I modify how my scene is drawn to make it look like it's taking place at different times of day?

My game has a day-time association with the scene, that the morning light will be different from the afternoon and the night. But I don't know how to make this difference. Here is an example in ...
6
votes
4answers
1k views

Spell Effects/Shaders

I want to be able to achieve spell effects that cause a fragmenting/discoloring effect on the sprite. The first couple seconds of this video http://www.youtube.com/watch?v=HNCFh7mkvuc shows what I ...
6
votes
3answers
2k views

How to do this sprite motion blur?

Some of you may know fraxy... Basically, I was watching this video: http://www.youtube.com/watch?v=uL7zWdDCtOE And there are some times where some sprites spin really fast (4:00 mark for example), ...
6
votes
1answer
237 views

Visual effect with dark overlay gradient surrounding the center of the screen

How is it called, what is it used for, and what is the most common way to implement it? I know these are three question in one, but since the first and second are just one-liners I decided to make ...
6
votes
1answer
1k views

XNA 4.0 Post-Processing Libraries?

Are there any free XNA 4.0 post-processing libraries that are easy to hook into projects? I am looking specifically for a glow effect (although anything is great), and I should also mention that I'm ...
6
votes
2answers
315 views

How do I create smoke-like beam or aura effects?

I mean things like the Team Fortress 2 medic gun: ...or the Killzone: Shadow Fall anti-gravity effect: How do these work?
5
votes
2answers
1k views

How can I fade something to clear instead of white?

I've got an XNA game which essentially has "floating combat text": short-lived messages that display for a fraction of a second and then disappear. I've recently added a gradual "fade-away" effect, ...
5
votes
2answers
660 views

Spin/Rotational Blur

How do I perform a circular/rotational/spin blur on an image - using DirectX9.0 and HLSL? For example:
5
votes
1answer
119 views

portal cutoff effect

I want a 3D Mesh to come out of a flat portal. Only the part of the mesh that's coming out of the portal should be rendered, so the mesh should be cut off or sliced until it's fully outside the ...
5
votes
5answers
568 views

How can I make a falling down effect in 2D - Birds Eye View

Currently whilst making my game, I'm not sure how I am going to implement the actual gameplay/environment of it. At first I thought to do a side-on plat-former, where my character falls down the ...
5
votes
2answers
804 views

How'd they do it: sphere effects in Osmos

I'm curious how the sphere effects were done in Osmos from Hemisphere Games. Any ideas how the resolution independent zoom in was achieved? Edit, more specifics on questions: How do you render the ...
5
votes
3answers
705 views

Programmatically Modifying Images to Create Morning, Sunrise/Sunset and Night-Time Modes

I'm using RPG-Maker-XP-like sprites (any 2D adventure/RPG style sprites). I would like to tint them so that they look different at different times of day. Times of the day are the set of: Daytime ...
5
votes
2answers
657 views

atmospheric scattering and sky geometry

I'm trying to implement an atmospheric scattering in my graphics (game) engine based on the gpu gems article: link. An example implementation from that article uses a skydome. My scene is different - ...
4
votes
1answer
688 views

Shader effect similar to Metro 2033 gasmask

I was thinking about effects in games the other day and I was reminded of the Gasmask effect from Metro 2033. Once you put the gasmask on it blurred a bit in the corners and could ice up and even get ...
4
votes
2answers
559 views

How effects found in “Autodesk Fluid FX” are implemented using OpenGL ES?

How this kind of effects are technically implemented using OpenGL ES? Are they performing simulation on GPU (using Shaders) or CPU while using some smart vertex positioning and texturing? Why it ...
4
votes
2answers
515 views

Reflections based on distance from plane

Let's consider, for example, a surface like the volleyball court, we can see that legs and shoes of the players are reflected, with a blur effect, but body and stadium don't (as each object not near ...
4
votes
1answer
573 views

Creating a highlight halo around a selected object

I'm looking to create a halo highlight around the selected objects in my game screen. The main platform is android, but I am writing an iOS version as well, updating it whenever I successfully add the ...
3
votes
2answers
551 views

Giving the illusion of speed

I'm making a racing game that feels a lot like xtreme g 64 or fzero. Making the player feel like they are moving extremely fast is important for this game. Actually moving them fast enough to give ...
3
votes
2answers
317 views

How to determine the maximum supported level of anisotropic filtering for a graphics card

In software, at runtime, (C++ if it matters), is there a way to find out the maximum level of anisotropic filtering supported by the graphics card?
3
votes
1answer
261 views

How to achieve animated glow

I am trying to achieve something I've seen numerous times, but I don't know where to start from. I've come across numerous old effects, which I can't recreate. The said effects are the glow animations ...
3
votes
2answers
450 views

What causes polygonal twitching in older games?

I'd like this answer large part to curiosity and I'd like to recreate it with our modern computers somehow. By old games I'm referring to ps1 games. My specific example would be Megaman Legends I've ...
3
votes
1answer
906 views

Effects of collisons: broken glass, damaged cars, how are they created?

My question is related in particular to achieving the effects of collision in game engine, how is this done? I have searched a bit, read from the internet and went through a few tutorials, and saw ...
3
votes
1answer
262 views

Automatic shadow for isometric objects

I have like hunderd of isometric objects. One example: I'm trying to find a way to automate creation of shadow they're casting. I ended up with following transformation: matrix.Shear(-0.25f, ...
3
votes
3answers
2k views

How many BasicEffects do you have in a Game? What is the best way to render multiple objects/shapes at once?

I'm trying to understand 3D rendering and it seems that everytime you render a new object (A 3D Cube or something) you need to have a new BasicEffect for each Box you render unless you want the exact ...
3
votes
1answer
116 views

Creating a black light (ultraviolet) shader?

I am interested in the algorithm for color picking that would ideally allow to choose what color range will be highlighted and what color range will be faded. I can sort-of understand how to make it ...
3
votes
2answers
522 views

Creating 2D waveform for Cocos2d game

I'd like to have a Waveform in my iPhone game that I am developing using Cocos2d v2.0. That's the ideal wave I'd like to achieve. A simpler wave which I would still be happy with is this one. ...