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

2
votes
1answer
258 views

How do I render a volumetrically lit spotlight?

To be clear, I really do mean volumetric lighting; not only calculating which area is lit, but also realistically lighting the volume of "air" that the light hits on the way. Like this: I've tried ...
0
votes
1answer
191 views

Java Slick2D Image Glow Effect

How can one achieve a dynamic glow effect in Java Slick2d? I want an image to be surrounded by a glow when I move my mouse over it for example. Example: No glow Glow Is it possible to make this ...
2
votes
1answer
217 views

Cocos2D V3 Blur effect performance test without iOS device

I am testing the blur effect (CCEffectBlur) in Cocos 2D V3 and I found that when I add an effect to an EffectNode it takes up to 5 seconds to appear in the IOS Simulator screen. (I know that the IOS ...
3
votes
1answer
105 views

How to write a custom shader in Unity 3D that lights up a specific pixel or group of pixel?

I'm making a FPS game in Unity, and I want the environment to light up as the player is shooting on his environment. The map would be entirely put in darkness at the beginning, but as the player ...
1
vote
0answers
102 views

How can I create a wind visual effect like Ori?

I'm working on a mobile game in Cocos2D. The game mechanic is very similar to Ori and the Blind Forest's parachute (Kuro's feather) mechanic. I want to be able to render a visual effect for wind ...
2
votes
1answer
422 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 ...
4
votes
2answers
224 views

How to achieve sprite reflection effect in libgdx

I am currently working on an open world game similar to Pokemon using libgdx. I am currently stuck on this effect that I really want to be done before moving to other features of my game. How can I ...
3
votes
2answers
117 views

How can I create an “afterimage” effect like this one?

How can I make an effect like this? With a particle system?
2
votes
1answer
117 views

JavaScript 2D liquid flow

Brand new to games/graphics and I'm attempting to find a method to create a 2D liquid effect with JavaScript. Ideally I could adjust the viscosity and flow from a gas/fog effect to oil and between. ...
1
vote
1answer
11k views

Create fog (smoke) on Unity3D?

I'm creating a game where you are inside a boiler room, the problem is I want to create the fog (smoke) to make this more realistic.
1
vote
1answer
59 views

How can I achieve a flickering torch/candle effect in 2D?

I'm currently working on a 2D lighting system that has point lights effectively rendered as a quad in a top-down 2D view, something like this for each light: I'd like to achieve a somewhat ...
0
votes
0answers
37 views

How can I use pre-rendered high resolution models as a basis for generating normal maps?

I was reading through the Wikipedia page on pre-rendering and at the end they mention in the following quote that doom 3 used pre-rendered models? While making Doom 3, id Software used ...
18
votes
2answers
3k 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 ...
5
votes
3answers
1k 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 ...
15
votes
3answers
1k 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, ...
2
votes
2answers
85 views

How do I implement a flashlight in SDL2?

I'm a beginner trying to implement a flashlight in SDL2, but can't figure out a good way to do it. I've found a way to manipulate the background's color; changed it to dark and back to its normal ...
0
votes
1answer
2k views

How do I create a circular progress bar in Unity3D 5?

I am new to programming and Unity3D. I want to show a circular progress bar starting invisible and growing in 3 seconds to a circular line when reloading is done. How can I do that?
0
votes
1answer
23 views

XNA 2 3D Objects Depth Convergence Error

Gah! I have a scene with 2 3D objects - a plane and a sphere; the plane sits on the xy axis with a depth if -100 and diameter of 200; the sphere diameter is 32 and sits on the xyz = 0 position; ...
0
votes
1answer
37 views

How to draw a sprite at a floating point xy coordinate with interlaced drawing?

I have a 2D game made in MonoGame (XNA 4.0 framework). Here's what I want to do: draw a 2d image at a floating point xy coordinate such as 125.5, 300.12 (and do NOT round them to an int). the image ...
3
votes
1answer
530 views

Unity: Apply an Image Effect on one layer only

Please consider this simple scene. It’s composed of 3 different game objects. 1 background image + 1 static character image + 1 small part (with the pet) that is changed at runtime to perform an ...
12
votes
3answers
549 views

How do I write a shader that lights up when objects are near a surface?

In this Overwatch gameplay video, the character's shield lights up white in areas that are near other objects' geometry. Note the white edges on the blue shield, near the floor, walls and pillar. ...
3
votes
1answer
909 views

How do I create a jet engine exhaust effect with a shader?

How would I create a jet engine exhaust effect, as shown in the image from Fzero GX below. GLSL and OpenGL examples/solutions are prefered, though other resources are also welcome. Requirements ...
3
votes
1answer
269 views

Monogame fails to load Effect

I'm currently porting an old XNA game over to MonoGame and everything (including custom shaders) build fine. However when i try to load the xnb file using content.Load<Effect>("BaseDraw"); I ...
0
votes
1answer
60 views

Fixing strange artifacts in an HQX shader

I'm having an issue implementing an HQX filter that I found in the LibRetro GitHub repository. LUT texture was obtained here Shader file was obtained here (I converted it to compile in MonoGame with ...
6
votes
3answers
168 views

How area-of-effect effects are projected into games world?

I see a lot of skills in the games I play where they have a skill or a search area that projects a drawing on to a map, like a circle or something similar and I have no idea how that is done, and I ...
2
votes
0answers
178 views

How do I make volumetric grass?

I've been extremely interested in volumetric technology, especially for grass. Online resources are extremely scarce on this topic. What is the difference from creating a lot of mesh billboards? ...
7
votes
2answers
1k 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 - ...
0
votes
1answer
71 views

Shadow map depth error makes all light be covered and hidden

I've been following the tutorials listed below: http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series3/Shadow_map.php http://xbox.create.msdn.com/en-US/education/catalog/sample/shadow_mapping_1 ...
6
votes
2answers
135 views

How to have real time (blood) traces?

https://www.youtube.com/watch?v=Tzf3zjPJYw4 In this game, Ink, color blobs fall then they create pretty color spots. The color traces are unlike any other game. For an example, in Super Meat Boy ...
9
votes
3answers
8k 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 ...
1
vote
0answers
569 views

Creating lightning effect with glow effect

I am trying to recreate Drilian's lightning bolt in unity and I have faced a problem in the "Adding Some Glow" part. I am missing glow effect (and/ or "rounded beams"). Here is what I am doing: I ...
4
votes
1answer
245 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 ...
3
votes
1answer
235 views

How to render a curved horizon when rendering terrain far away

For games with long view distance, it might look at bit weird when you fly high above the ground and the horizon is all flat. So, how can I make a crumb/bend effect, when I fly high above the ...
4
votes
2answers
270 views

How to make sure Sun Shafts are emitted only from background elements?

Currently I have a game scene entirely made of standard sprites using the default material. I use the Unity standard effect named Sun Shafts. I have tried many combinations of shaders and other ...
1
vote
1answer
55 views

How to define default graphic setting?

Currently I'm developing a PC game using Unity Usually on PC games we found graphic/video settings due to varying hardware installed and limitation. Just as in the title, how does a game set its ...
1
vote
1answer
561 views

In Unity, how do I render a chromatic aberration effect?

I'd like to replicate the effect used in Teleglitch: In this scene, an object is rendered more than once at different position with different color. This game uses this shader effect to create ...
1
vote
2answers
510 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 devices. Something like this: I'd ...
1
vote
2answers
95 views

Mapping of positions on images in different frames

I am looking for a possibility to map different positions on a 2D Image which has different frames. Let's say I have an image, consisting of three frames, which shows a spaceship. The first frame ...
0
votes
0answers
9 views

Xna remove DiffuseColor

I'm drawing my model multiple times with the follwing method. I need tiles to be yellow if they are selected. private void DrawTile(int x, int y, int z, bool selected) { foreach ...
1
vote
1answer
53 views

Issue with rotating particle effects with DrawUserPrimitves

I am creating a voxel-like game in XNA/Monogame. I am trying to create particle effect of which I create by making a list that is populated every frame. My issue is here: I am using a WorldMatrix to ...
2
votes
1answer
185 views

Direct3d Techniques and Windows 8

Under Windows 8, what is the alternative to this code: technique11 Light0Tex { pass P0 { ... technique11 Light1Tex { pass P0 { ... And: Light1Tech = ...
2
votes
1answer
410 views

How do I make a sprite appear to sway with the wind?

I'm trying to find a method to simulate the effects of wind on various sprites in a side-view 2D scene. What relatively simple technique could I use for this? What I have in mind is to give these ...
1
vote
0answers
207 views

How to make a sword swing effect

I'm working on a 2d java game on Slick engine and I always wondered how to make swing effects when striking with a sword? How to code something like this? ...
1
vote
1answer
176 views

Voxel engine/vertexes: how to add more and more different textures during game runtime and change some of the blocks' faces?

It's difficult to ask this, but I'll try. The thing is: I asked before somethings about creating ramps and blocks with vertexes. [I'm using C#/XNA.] Explanation: now I got a chunk that has blocks ...
-1
votes
1answer
465 views

How to add nice effects to my menu in Unity

I have a simple menu but I would like to spice it up with some of what I thought would be simple effects. I have 4 buttons that are just rectangle with some GUIText centered on the button and when the ...
0
votes
2answers
160 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 ...
3
votes
1answer
85 views

How do I render an object's position trail of a constant length?

I want to show a trail of the last points that the object has been in, but I want that trail to always be a certain length, regardless of the object's speed. How can I do that? At the moment, I ...
4
votes
1answer
252 views

Why does my Outlined Diffuse 3 shader seem “detached” at a distance?

I'm using the Outlined Diffuse 3 shader from Unity and I'm having a problem with it: the outline looks great when the camera is near the object, but at a distance, it looks detached. From nearby ...
-1
votes
2answers
891 views

How do I make a sprite blink on an HTML5 canvas?

I'm thinking of the flashing effect many games have when a character gets hit and takes damage. Something like overlaying a lighter color on visible sprite pixels for a second.
6
votes
1answer
2k views

How can I create a fade effect between scenes in Libgdx?

I have implemented a screen fade with Scene2D. It currently fades fades out of one screen to black, then then from that black into the next screen. It would be really awesome if I could fade ...