开发者

hlsl

0
  • HLSL shaders, how to draw a model with it's original colors?

    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.[详细]

    2023-02-11 03:20 分类:问答
  • Loading a precompiled HLSL shader into memory for use with CreatePixelShader

    I need to load a compiled pixel shader into memory to use with CreatePixelShader but I can\'t use any开发者_JAVA技巧 D3DX calls.[详细]

    2023-02-11 02:24 分类:问答
  • Trying to find HLSL Compiler

    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.[详细]

    2023-02-09 19:34 分类:问答
  • DirectX 9 HLSL Texture Sampling Issues

    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[详细]

    2023-02-08 12:43 分类:问答
  • Pack four bytes in a float

    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[详细]

    2023-02-07 10:40 分类:问答
  • Dropdown UI widget for fx/hlsl shader

    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.[详细]

    2023-02-02 14:17 分类:问答
  • Flickering Mesh Problem: DirectX HLSL

    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[详细]

    2023-02-02 05:11 分类:问答
  • Shader framebuffer readback

    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[详细]

    2023-01-29 03:46 分类:问答
  • Branch vs Texture Read

    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[详细]

    2023-01-28 11:12 分类:问答
  • VS2010 - HLSL Intellisense?

    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[详细]

    2023-01-26 14:34 分类:问答