High-Level Shading Language

The High-Level Shader Language or High-Level Shading Language (HLSL) is a proprietary shading language developed by Microsoft for the Direct3D 9 API to augment the shader assembly language, and went on to become the required shading language for the unified shader model of Direct3D 10 and higher.

HLSL is analogous to the GLSL shading language used with the OpenGL standard. It is very similar to the Nvidia Cg shading language, as it was developed alongside it. HLSL shaders can enable profound speed and detail increases as well as many special effects in both 2d and 3d computer graphics.

HLSL programs come in five forms: pixel shaders (fragment in GLSL), vertex shaders, geometry shaders, compute shaders and tessellation shaders (Hull and Domain shaders). A vertex shader is executed for each vertex that is submitted by the application, and is primarily responsible for transforming the vertex from object space to view space, generating texture coordinates, and calculating lighting coefficients such as the vertex's tangent, binormal and normal vectors. When a group of vertices (normally 3, to form a triangle) come through the vertex shader, their output position is interpolated to form pixels within its area; this process is known as rasterisation. Each of these pixels comes through the pixel shader, whereby the resultant screen colour is calculated.

Podcasts:

PLAYLIST TIME:

Too Much Is Never Enough

by: Lisa Lois

Everybody says it’s a perfect day
Sun is in my eyes make it go away
Surrounded by people but I feel so alone
Seems like I fall apart, every time you go
[Chorus]
And too much is never enough, of you
And too much is never enough, of you
Feel you dripping from my pours
But I keep wanting more
Until my skin is bruised
Too much, too much
is never enough of you
Is never enough of you
Longing for your touch in between my sheets
I just wanna catch, your falling into me
We’re melting together, until you make me cry
You can give me all you have, but I won’t be satisfied
[Chorus]
Cause too much is never enough, of you
And too much is never enough, of you
Feel you dripping from my pours
But I keep wanting more
Until my skin is bruised
It’s never enough of you
Fire the gun, I’ll shoot you with love
So you can never relief
I’d use my arms, too turn you away
So you’d always be with me
Cause I can’t sleep, I can’t sleep without you near
without you here
[Chorus]
And too much is never enough, of you
And too much is never enough, of you
Feel you dripping from my pours
But I keep wanting more
Until my skin is bruised
Too much, too much
It never enough of you




×