Currently browsing tag

GLSL, Page 2

2. GLSL Validation

Tutorial PreviewValidating shaders, allows us to find errors on run-time instead of the shader failing and producing corrupt output. HLSL does this upon compilation inside XNA, but we have to wait until out shader compiles, which happens at run time.

1. GLSL Setup

Tutorial PreviewGLSL is the OpenGL Shader Language, and is the OpenGL version of HLSL for DirectX. It allows us to manipulate the scene on a per vertex and per fragment basis, giving us total control.