Skip to content
cccskills
FreePublished on GitHub

computer-graphics-expert

Expert-level computer graphics covering the rendering pipeline, rasterization, ray tracing, shaders, transformations, lighting models, and GPU programming.

The English summary is being prepared. Showing the original description.

Run score Not tested

See how to install

Files included (2)

  • SKILL.md2.6 KB
  • .gitkeep0 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Computer Graphics Expert

Before Starting

  1. Real-time or offline rendering?
  2. Rasterization or ray tracing?
  3. OpenGL, Vulkan, WebGL, or DirectX?

Core Expertise Areas

Rendering Pipeline

Vertex processing: transform 3D positions to clip space. Primitive assembly: group vertices into triangles. Rasterization: convert triangles to fragments, interpolate attributes. Fragment processing: compute color per fragment, depth test. Output merger: blend fragments, write to framebuffer.

Transformations

Model matrix: object space to world space. View matrix: world space to camera space. Projection matrix: camera space to clip space — perspective or orthographic. MVP matrix: Model x View x Projection applied to each vertex. Homogeneous coordinates: 4D vectors allow translations as matrix multiply.

Lighting Models

Phong model: ambient + diffuse + specular components. PBR: physically-based rendering — metallic/roughness workflow, energy conservation. Lambertian diffuse: max(dot(N,L), 0) * diffuse_color. Shadow mapping: render depth from light, compare in main pass. Global illumination: ambient occlusion, SSAO, ray-traced GI.

Shaders

Vertex shader: per-vertex transformation, pass attributes to fragment shader. Fragment shader: per-pixel color computation. Geometry shader: per-primitive processing, can generate new geometry. Compute shader: general GPU computation, not part of fixed pipeline.

Ray Tracing

Ray casting: shoot ray from camera through each pixel. Intersection tests: ray-sphere, ray-triangle, ray-AABB. BVH: bounding volume hierarchy accelerates intersection queries. Path tracing: Monte Carlo integration of rendering equation, handles global illumination.

Best Practices

  • Profile GPU with vendor tools before optimizing
  • Minimize draw calls by batching geometry
  • Use mipmaps to reduce texture aliasing and improve cache performance
  • Prefer compute shaders for non-rasterization workloads

Common Pitfalls

PitfallFix
Z-fightingAdjust near and far clip planes to minimize depth range
Too many draw callsBatch geometry, use instancing
Shader precision issuesUse mediump carefully, prefer highp for positions
Forgetting to normalize vectorsAlways normalize normals and light directions

Related Skills

  • threejs-expert
  • wasm-expert
  • computer-architecture-expert

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Expert-level abstract algebra knowledge. Use when working with groups, rings, fields, modules, Galois theory, representation theory, or algebraic structures. Also use when the user mentions 'group', 'ring', 'field', 'homomorphism', 'isomorphism', 'normal subgroup', 'quotient group', 'Sylow theorem', 'Galois theory', 'polynomial ring', 'ideal', 'module', 'vector space', or 'representation theory'.

The English summary is being prepared. Showing the original description.

luokai0/ai-agent-skills-by-luo-kai13Updated May 6, 2026

Expert-level acoustics knowledge. Use when working with sound waves, acoustic propagation, resonance, standing waves, Doppler effect, room acoustics, ultrasound, noise control, musical acoustics, or architectural acoustics. Also use when the user mentions 'sound wave', 'decibel', 'frequency', 'resonance', 'standing wave', 'Doppler effect', 'acoustic impedance', 'reverberation', 'ultrasound', 'noise control', 'harmonics', or 'sound intensity'.

The English summary is being prepared. Showing the original description.

luokai0/ai-agent-skills-by-luo-kai13Updated May 6, 2026

Expert-level aerodynamics covering subsonic and supersonic flow, lift and drag, airfoil theory, boundary layers, compressible flow, and CFD methods.

The English summary is being prepared. Showing the original description.

luokai0/ai-agent-skills-by-luo-kai13Updated May 6, 2026

Expert-level air quality engineering covering pollutant sources, atmospheric dispersion, air quality standards, emission controls, and air quality modeling.

The English summary is being prepared. Showing the original description.

luokai0/ai-agent-skills-by-luo-kai13Updated May 6, 2026

Expert-level aircraft structures covering structural design philosophy, wing and fuselage analysis, fatigue and damage tolerance, composite structures, and certification.

The English summary is being prepared. Showing the original description.

luokai0/ai-agent-skills-by-luo-kai13Updated May 6, 2026

Expert-level algorithms and complexity theory covering sorting, searching, graph algorithms, dynamic programming, greedy algorithms, NP-completeness, and algorithm design paradigms.

The English summary is being prepared. Showing the original description.

luokai0/ai-agent-skills-by-luo-kai13Updated May 6, 2026

See all skills by luokai0

Report a problem with this skill