I made this very simple 3D model exported to .x format with Google SketchUp, the model is a simple cube and has no textures, only different colors for each of it\'s face.
I need to load a compiled pixel shader into memory to use with CreatePixelShader but I can\'t use any开发者_JAVA技巧 D3DX calls.
Googling for \"HLSL compiler\" and a few things, I\'m frustratingly unable to find where to look for a standalone HLSL compiler for D3D9 so I can tell which lines are causing problems.
I\'m making an application using managed directX 2.0 (which I believe is the same as DirectX9) and I\'m new to HLSL, so I\'m sorry if what I\'m doing is idiotic. I\'m writing a simple pixel shader tha
I\'m writing a shader (HLSL), and I need to pack a color value into the R32 format. I\'ve found various pieces of code for packing a float into the R8G8B8A8 format, but none of them seem to work in re
I\'ve made a HLSL shader (fx format) and would like to add a enum/list paremeter to its UI - as a better alternative to the list of boolean flags.
The Problem: I am rendering a mesh using HLSL (High Level Shader Language) in Managed DirectX 9.Depending on the complexity of the mesh (number of vertices and faces) I sometimes get problems with fli
I was wondering if there is support in the newer shader models to read-back a pixel value from the target framebuffer. I assume that this is alrdy done in later (non-programmable) stages in the drawin
In shaders, which one is usually cheaper, branching (if, etc) or a te开发者_StackOverflow社区xture read?Texture read, usually. Branches are typically prohibitively expensive. Of course, so are anisotr
Are there any free components out there that will give highlighting and/or intellisense for HLSL? I\'ve seen mentions of something c开发者_JS百科alled \"InteliSense.Net,\" but the author\'s site is d