Consider using either 'graphic-effects' or 'sound-effects' tags.
13
votes
1answer
441 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 ...
7
votes
2answers
230 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 ...
1
vote
1answer
147 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
77 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)
This is my code:
...
1
vote
1answer
205 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
230 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
149 views
XNA clip plane effect makes models black
When using this effect file:
float4x4 World;
float4x4 View;
float4x4 Projection;
float4 ClipPlane0;
void vs(inout float4 position : POSITION0, out float4 clipDistances : TEXCOORD0)
{
...
4
votes
1answer
173 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
0answers
120 views
DirectX Effects Framework alternative [closed]
Now that the DirectX Effects framework has been axed, are there any other similar frameworks out there ? I now there's Nvidia CGFX, but does that work with the latest DirectX versions ? I'd rather not ...
1
vote
2answers
512 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
246 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 ...
12
votes
2answers
340 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 pass.Apply(). I can imagine multiple scenarios:
Each time Apply is ...
0
votes
2answers
655 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:
...
5
votes
1answer
731 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 ...
-2
votes
1answer
489 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
1k 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
1k 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 ...
3
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
2k 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
597 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
736 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 ...