Top "Hlsl" questions

HLSL(High Level Shader Language) is a proprietary shading language developed by Microsoft for use with the Microsoft Direct3D API

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 D3…

c++ direct3d hlsl
DirectX 11 Pixel Shader What Is SV_POSITION?

I am learning HLSL for DirectX 11, and I was wondering what exactly is the SV_POSITION that is the output …

directx-11 hlsl vertex-shader pixel-shader
HLSL branch avoidance

I have a shader where I want to move half of the vertices in the vertex shader. I'm trying to …

optimization branch shader hlsl
HLSL float array packing in constant buffer?

people. I have a problem passing a float array to vertex shader (HLSL) through constant buffer. I know that each "…

directx hlsl directx-11 vertex-shader
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 …

hlsl packing
HLSL: Gaussian Blur Effect

I'm trying to achieve a gaussian blur using post-processing. I have two render passes; first pass renders the scene and …

directx hlsl pixel-shader post-processing
What kind of blurs can be implemented in pixel shaders?

Gaussian, box, radial, directional, motion blur, zoom blur, etc. I read that Gaussian blur can be broken down in passes …

glsl shader gpu hlsl pixel-shader
HLSL - How can I set sampler Min/Mag/Mip filters to disable all filtering/anti-aliasing?

I have a tex2D sampler I want to only return precisely those colours that are present on my texture. …

directx hlsl direct3d9
Compute Shaders Input 3d array of floats

Writing a Compute Shader to be used in Unity 4. I'm attempting to get 3d noise. The goal is to get …

c# unity3d shader hlsl compute-shader
HLSL Pixel Shader - Change Image Color For Specific Hue

I'd like to write a pixel shader that takes an input image, and converts all of the colors of one …

shader hlsl