Claude
Skills
Sign in
Back

glsl

Included with Lifetime
$97 forever

GLSL shader programming skill for OpenGL/Vulkan, fragment and vertex shaders.

General

What this skill does


# GLSL Skill

GLSL shader programming for OpenGL/Vulkan.

## Overview

This skill provides capabilities for writing GLSL shaders.

## Capabilities

- Vertex and fragment shaders
- Geometry shaders
- Uniform handling
- Cross-platform shading

## Usage Patterns

```glsl
#version 450

layout(location = 0) in vec3 position;
layout(location = 0) out vec4 fragColor;

uniform mat4 mvp;

void main() {
    gl_Position = mvp * vec4(position, 1.0);
}
```

## References

- [GLSL Specification](https://www.khronos.org/opengl/wiki/Core_Language_(GLSL))

Related in General