The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
78 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
161 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
54 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) { ...
3
votes
0answers
99 views

Combining Effects

To be able to work efficiently with effects, isn't there a "good" way to combine multiple effects so that one effect handles stuff like "Multi texturing" and another controls the value like Ambient ...
1
vote
0answers
88 views

DirectX Effects Framework alternative

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
147 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
178 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 ...
11
votes
1answer
200 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
475 views

how to make HLSL effect just for lighning without texture mapping?

I'm new to XNA, 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 ...
4
votes
1answer
503 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
348 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
674 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
1k 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
535 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
537 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 ...