Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [effect]

Consider using either 'graphic-effects' or 'sound-effects' tags.

0
votes
0answers
5 views

Object coming from far away effect in 2D

I have a path made using segments of sine wave interpolation put together that is drawn flat on the screen. And I would like to give the path the effect of coming towards the player. I tried to draw ...
2
votes
0answers
96 views

How to create a wavy beam?

I want to implement a wavy laser beam similar to the Proton Backpack in Enter the Gungeon. https://youtu.be/wl-o6gbMqFM?t=58 It's easy enough to draw a line from one point to another, but how to get ...
1
vote
1answer
139 views

RPG Item Design [duplicate]

I'm currently fiddling around with some RPG mechanics and I'm trying to implement a solid way to handle items that have different on use effects. Currently, I have a base class called "Item" that ...
0
votes
1answer
71 views

Monogame - All effects in one file?

I am successfully drawing all of my geometry with an AlphaTestEffect and would like to apply shaders. I've built a shader Effect from a tutorial and can't seem to find anything on the web that answers ...
0
votes
1answer
90 views

How to make a shattering effect similar to Housemarque's Nex Machina?

After playing Nex Machina for a while, the shattering effect which turns monsters and scenes into cubes really fascinated me and I can't hold my curiosity to explore how they made it. I have tried to ...
3
votes
1answer
424 views

Effect only on one object (two cameras)

I have a problem. I want a Grayscale effect to be applied ONLY to the chair on the stage. The chair has a layer CurrentItem. And I have two cameras: ...
10
votes
2answers
2k views

Season Change Reveal Effect

I was watching the teaser trailer for Seasons After Fall, and I was struck by the effect they use to transition between seasons (around 21-24 seconds): The level art, including the background and the ...
0
votes
2answers
737 views

Pool game ball path line

I'm using Unity C#. How would I create the effect in my pool game, a line showing the direction of the second (not white) ball after collision. Example: I need to make the line coming from the ball ...
2
votes
1answer
162 views

Circular lighting mask stretches to ellipse in Monogame using Pixel Shader

I am trying to implement a very simple pixel shader for some basic lighting using this tutorial http://www.xnahub.com/simple-2d-lighting-system-in-c-and-monogame/ My problem is that when the effect ...
0
votes
1answer
61 views

Whats a good way to make realistic brick walls?

This is a screencap from Blackops III: I tried this using 5 maps including displace and normal, but it still looks too flat. I was wondering what a good method or workflow is to make walls actually ...
1
vote
0answers
367 views

Unreal Engine - How can I add blur effect at my Camera in iOS

I have requirement to add blur effect at my camera in specific point , it work just fine in pc but when I deploy in my phone it remove the effect According to documentation To turn off Depth of ...
1
vote
1answer
232 views

How to Programm A Dialog box with a typewriter effect in Java? [closed]

Im am very new to java and programming so I might be a bit annoying to work with but please bear with me :D So As the title says I'm trying to figure out how to properly program a working dialog box ...
2
votes
0answers
690 views

How do i add a rain effect to a top down design game in Java, using no external libraries?

I'm creating a top-down game for my A-level/college computer science project, and I'm trying to implement rain. The game needs to be usable on any platform, so the use of external libraries is out of ...
0
votes
0answers
17 views

How can I implement a “horizontal desynced colors” effect in LWJGL? [duplicate]

My plan is to achieve analog video effects like RGB channel desynchronisation. I'd like to have something like this (I hope you get the idea): Left: White dot; Right: The same dot, but mind the ...
3
votes
1answer
11k views

How can I apply an outline effect in Unity?

I want to apply an outline effect for several objects on the scene. Nope, the standard outline shader from the toon-shader package don't met my criteria. I want to create an effect like this: To ...
1
vote
1answer
7k views

RenderTexture is not cleared after it was released

I want to create some image effect. I've written a script that draws a cube mesh at the render target and then copies the render texture at the screen. I don't want to render anything except Mesh(M) ...
1
vote
0answers
608 views

How to create glowing line with andengine?

today I have played this game and still wondering about this effect: when I touch the target, some lines will appear (as those yellow lines in the image). How could I create this effect in andengine. ...
2
votes
0answers
806 views

How can I combine my scrolling effect with the vertex lit shader?

I want my shader to work in both Forward and VertexLit rendering modes. I'd written a texture scrolling shader, but I also want to consider lighting which is produced by Vertex lit shader. I can't add ...
2
votes
2answers
1k views

Surface shader with VertexLit causes black object

I wrote the simplest possible surface shader: ...
19
votes
1answer
2k views

Rendering oily/polluted water?

Any shader wizards out there have an idea of how to achieve an oily/polluted water effect, similar to this: Ideally, the water would not be uniformly oily, but instead the oil could be generated from ...
8
votes
2answers
2k views

How can I implement a scanline effect?

I am working on an old-school platformer in libgdx and I want it to have a "scanline" effect, like this: My first attempt was to make a little texture and draw it on a full-screen quad. I used two ...
2
votes
2answers
3k views

Bloom only on line renderer

How do I apply the Bloom Effect Line Renderer's only? I'm using the bloom effect from the Unity Pro image effects script but it's affecting the way light is rendered to the scene.
2
votes
1answer
250 views

SlimDX: Error while loading Effect

Im trying to load a effect in SlimDX, but I get a error when I try to get the ShaderSignature. The error-code: E_FAIL: An undetermined error occurred (-2147467259) ...
1
vote
1answer
584 views

XNA- Add a content reference to a library?

Making a Game library with XNA, and I'd like to bundle it with some stock effects, if possible. But I'm having no luck attaching a Content project to the Library, so is it possible to use the Content ...
3
votes
2answers
735 views

Distortion Effect

I'm trying to make a distortion effect for a space game. The idea is that the effect has a central point, and all nearby objects appear to swirl into that point. I've made a preliminary version and it ...
0
votes
1answer
323 views

XNA clip plane effect makes models black

When using this effect file: ...
4
votes
1answer
1k views

How can I handle the combination of multiple shader effects?

To be able to work efficiently with effects, is there a good way to combine multiple reusable "base" effects to achieve a more complex final result? For example, say I have an effect that handles ...
1
vote
2answers
2k views

How (update,set, apply) dynamically color on a model of a XNA project?

I encounter a problem for set a background color on my model instantiated. I can change the texture but not change color. Is there a parameter for change the color ? Or change the opacity ? I am ...
1
vote
1answer
374 views

MultiTexturing by neighbouring points textures

Visual example: I've been trying to understand multitexturing for a while now, I've created a terrain generator but have no need for height just yet and I still want one texture to blend over to ...
13
votes
2answers
1k views

Best practice for setting Effect parameters in XNA

I want to ask if there is a best practice for setting Effect parameters in XNA. Or in other words, what exactly happens when I call ...
1
vote
2answers
906 views

How to make HLSL effect just for lighting without texture mapping?

I created an effect and just want to use lightning but in default effect that XNA create we should do texture mapping or the model appears 'RED', because of this lines of code in the effect file: <...
6
votes
1answer
2k views

Rendering a Sprite with an Effect… how?

gettings tuck doing some 3d Rendering and I think you guys may have a lot more knowledge in it. I am tasked with basically rendering a texture onto a screen, preparing the way to apply graphical ...
0
votes
1answer
2k views

Shaky Camera Effect 2D

The camera in my game engine can be modified by following a rectangle properties, that can be scaled, moved and even rotated. I need this effect for the shaking of the screen when a zombie attacks a ...
0
votes
1answer
4k views

Changing the culling mode in the HLSL effect

I'm writing a cel-shading effect in HLSL and Direct3D 11, and I need to be able to flip the culling mode on the outline pass of the effect. I know you do this in XNA by setting CullMode to CW or CCW ...
0
votes
1answer
2k views

Texture in model not rendered by BasicEffect

UPDATE: It is apparently the BasicEffect that is the culprit here. I tried to use another effect (which I coded myself) and then it works!?!? )I kinda like the EnableDefaultLighting, though...) So ...
5
votes
1answer
2k views

Methods of Creating a “Lightning” effect in 2D

well i'm just wondering on the best way to go about create some form of "Lightning" effect to be used in a game, so for example: -In my game, i would like to have this effect in the menus and in-game ...
5
votes
1answer
1k views

How is this glowing with colors radiating outward 2D effect accomplished?

I'm currently totally at a loss as to how this effect is done: http://www.youtube.com/watch?v=zp8MHUNp7Cg The glowing on the ship and the changing color. I want to do this effect in XNA 4.0 any ...
2
votes
3answers
4k views

How do I create this underwater effect with Cocos2D?

http://vimeo.com/2461697 Hi everyone, I'm trying to create an effect like this, the underwater effect (water distortion). I've looked around and I've seen references to "water caustics" but I'm not ...
1
vote
1answer
715 views

XNA - multiple VertexBuffers?

I'm trying to learn how to use VertexBuffers in XNA 4.0. I can render wireframe shapes and I can render textured shapes. However, I'm having some trouble rendering them both at once. I'm ...
4
votes
2answers
2k views

How to do Digital Painting type of graphics art like in Braid?

I'm wanting to create the digital painting type of effect that you see in Braid for a game I'm creating. I was wondering if someone can point me in the right direction? I'm most familiar with OpenGL ...