I\'m trying to find some cool post processing shader codes to try out .. Note that I\'m just doing this for educational work so there\'s no copyright infringement that I would be causing, for those wo
Hey, I get this error: error X3086: DX9-style \'compile\' syntax is deprecated in strict mode When compiling a directx effect with this code:
Is there a comprehensive comparison of different versions of DirectX, different versions of shaders? There\'s an article on Wikipedia about HLSL with comparison of different versions of shaders. It i
I have tried to compile some pixel shader examples. But all of them give the same error message. "Cannot mix shader model 3.0 with开发者_JAVA技巧 earlier shader models. If either the vertex shade
I\'m trying to produce a shader to replicate a white plastic object with a colored light inside. Either by having a shader that will be translucent and if I put a light inside the object the light wil
I need to calculate the minimum and maximum UV values assigned to the pixels produced when a given object is drawn onscreen from a certain perspective. For example, if I have a UV-mapped cube but only
im wondering if its possible to dynamically compile a pixel-shader from file and apply it to a mesh. First I\'ll 开发者_JAVA技巧just start with some background information. I have a system which crea
I came across a weird behavior of HLSL. I am trying to use an array that is contained within a struct, like this (Pixel Shader code):
I\'m making a small language that is very similar to hlsl but supports only pixel shaders. This language uses reflection.emit to build .NET assemblies that implement the same functionality. I\'m curre
I am new to Silverlight and I got a small problem with effects in combination with polygons. I want to achieve that the rendering of the shader is only inside the edges instead of also outside the edg