0
votes
1answer
79 views

Do I need to create an HLSL in XNA to display textures without content pipeline

I currently have a jpeg texture stored as a Color array in XNA as RGBA. I also have the vertices of a cube in OBJ format mapped to VertexPositionColor vertex buffer using the VertexBuffer and Indices ...
2
votes
1answer
69 views

Is it possible to retrieve shader function names associated with a technique pass using the DirectX Effect API?

For example, given the pass pass p0 { SetVertexShader(CompileShader(vs_4_0, VSFunction())) SetPixelShader(CompileShader(ps_4_0, PSFunction())) } Ss it possible to retrieve the names ...
6
votes
2answers
1k views

Electricity effect using XNA and Shaders

I'm looking for a shader or sample that does an electricity or lines-of-force effect between two points that can be used with XNA 3.1.