Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [graphic-effects]

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

Filter by
Sorted by
Tagged with
17 votes
3 answers
8k 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 ...
Solomon's user avatar
  • 171
58 votes
4 answers
32k 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 ...
Christopher Horenstein's user avatar
27 votes
3 answers
18k 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?
Michael Stum's user avatar
  • 2,543
111 votes
2 answers
41k views

How can I create a "see behind walls" effect?

Divinity: Original Sin 2 has a beautiful see-through system. When I go behind walls, a splash mask will appear, and when I move around the game, it changes. It's like a dissolve shader, and has a ...
Seyed Morteza Kamali's user avatar
28 votes
10 answers
3k 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 ...
Alex's user avatar
  • 579
18 votes
1 answer
48k 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:
Csabi's user avatar
  • 335
32 votes
2 answers
13k views

How can I generate a lightning bolt effect?

Is there an algorithm to generate a lightning bolt? I would like an algorithm that generates a list of segment or point objects specifying where the bolt will land. The method would need a start point ...
Geoffroi's user avatar
  • 485
18 votes
5 answers
18k 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 ...
XSL's user avatar
  • 545
15 votes
2 answers
4k 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 ...
Christopher Horenstein's user avatar
5 votes
2 answers
3k views

Seamless 2D wrap-around effect

I am trying to show multiple images on a grid system which are randomly generated and the grid is moving from right to left. What my client wants is when a part of a picture goes off the left edge of ...
Saad Anees's user avatar
4 votes
1 answer
1k views

GLSL 2D Silhouette

I'm trying to render a silhouette of any entity behind foreground objects to indicate their position to the player. Here's an example of what I want to achieve, from Hyper Light Drifter: From what I'...
driima's user avatar
  • 995
1 vote
2 answers
5k views

In Unity3D, how do I create an efficient scratch card effect?

I want to create a scratch-card-like effect in new Unity UI's new Image tag. I know it's possible with setPixels, but that's prohibitively expensive on mobile ...
idurvesh's user avatar
  • 530
0 votes
1 answer
280 views

How to construct a propeller clock in Unity?

I am considering the possibility of using Unity to construct a propeller clock like this one (also called a persistence of vision or POV display). It's an array of LEDs on a PCB board connected to ...
chuackt's user avatar
  • 253
69 votes
1 answer
12k views

How can I replicate Quantum Break's distortion particle effect?

Quantum Break has this fantastic particle effect, it's a distortion effect like broken glass. I want know how I can replicate this effect? You can see it below, and a full video is available on ...
Seyed Morteza Kamali's user avatar
43 votes
3 answers
12k 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 ...
jokoon's user avatar
  • 5,253
22 votes
3 answers
9k views

How can I model a star?

I'm trying to model a star in Unity, and it, sort of works, but it's not ideal. Currently, I'm using a large sphere with a self-illuminating material containing a star texture applied to it's surface, ...
Ethan Bierlein's user avatar
15 votes
3 answers
19k 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 ...
General Waters's user avatar
13 votes
2 answers
7k 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 ...
Valmond's user avatar
  • 2,454
8 votes
3 answers
3k views

How can I create a contrail effect for a spaceship in motion?

I am curious how I could create an effect similar to the ship's tail in the following picture:
SteveL's user avatar
  • 237
6 votes
4 answers
9k 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), ...
speeder's user avatar
  • 1,402
4 votes
2 answers
3k 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 ...
SpeedBirdNine's user avatar
4 votes
1 answer
251 views

How can I draw an animated vector field on a map?

I want to render an animated vector field map similar to this wind speed visualization. How can I do this?
parn's user avatar
  • 41
3 votes
2 answers
853 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. Some ...
mm24's user avatar
  • 886
3 votes
2 answers
1k views

How do I create this windblown snow effect?

How do I create this snowy wind kind of effect, where wisps of snow appear to blow through the air close to the ground? I have seen this in several games like Skyrim, the new God of War, but I don't ...
Davy Jones's user avatar
3 votes
1 answer
2k views

2D Hidden Object Silhouette Shader

Right now I am not using any depth information in my engine, but I just found out that it would be neat to be able to render the silhouette of important game objects that are "behind" something with a ...
salbeira's user avatar
  • 579
3 votes
2 answers
1k views

What are the fundamentals of a Quad Billboarding effect?

I'm taking my first venture in to writing a shader and what I really need to do is create a billboarding effect. A thorough Google search turns up a number of threads on the topic and they always end ...
Mike Cluck's user avatar
  • 1,274
2 votes
1 answer
3k views

Pygame water ripple effect

I have Googled for it but there are no ready scripts - as opposed to the same effect on Flash. I have checked the algorithm on The Water Effect Explained and also tested an implementation of the ...
planestepper's user avatar
1 vote
1 answer
5k views

How to create a 2D fog shader?

I am trying to write a fragment shader in GLSL for a fog effect in a 2D game. Here are some links showing what I'm after. Here the fog is in the foreground and near the ground: https://twitter.com/...
DyingIsFun's user avatar
  • 1,307
0 votes
0 answers
1k views

Making an ice cream or icing effect as shown in GIF below

How can I make an effect like filling a cone with soft serve ice cream, or putting icing on a cake. I want to have the real icing effect shown in the https://twitter.com/D_M_Gregory/status/...
Huzaifa's user avatar
0 votes
2 answers
336 views

Draw many flashlights' focused lights' "circles" on a voxel engine map (and other objects)

So, I've been searching the internet for a while and I still didn't understand how to create a flashlight's "circle" in front of the camera over other objects. I found the following links: using ...
Arthur 'Gibraltar' Condino's user avatar
-2 votes
1 answer
579 views

how to add fog to a model instantiated in Xna? [closed]

I work on a small XNA games. I generate a large map type voxel. a floor of 1000 cubic long by 1000 cubes wide. This is why I use the method "MODEL instancing" with hardware instancing to generate a ...
Mehdi Bugnard's user avatar