Skip to content

ewdlop/ComputerGraphicNote

Repository files navigation

ComputerGraphicNote

I sometimes missed my pen, pencil, and crayon.

Here are the common shader languages and their file extensions:

  1. GLSL (OpenGL Shading Language)

    • .vert - Vertex shader
    • .frag - Fragment shader
    • .geom - Geometry shader
    • .comp - Compute shader
    • .tesc - Tessellation control shader
    • .tese - Tessellation evaluation shader
    • .glsl - Generic GLSL shader
  2. HLSL (High-Level Shader Language - DirectX)

    • .hlsl - Generic HLSL shader
    • .fx - Effect file
    • .vsh - Vertex shader
    • .psh - Pixel shader
    • .csh - Compute shader
    • .hsh - Hull shader
    • .dsh - Domain shader
    • .gsh - Geometry shader
  3. Metal Shading Language (Apple)

    • .metal - Metal shader files
  4. Cg (NVIDIA's C for Graphics - Legacy)

    • .cg - Cg shader file
  5. SPIR-V (Vulkan, OpenCL)

    • .spv - Compiled SPIR-V binary
    • .spirv - SPIR-V assembly
  6. OpenCL

    • .cl - OpenCL kernel source
    • .ocl - OpenCL source
  7. RenderMan Shading Language

    • .sl - RenderMan shader source
  8. Unity Shaders

    • .shader - Unity shader file
    • .compute - Unity compute shader
    • .cginc - Unity shader include file
    • .hlslinc - HLSL include file
  9. Unreal Engine

    • .usf - Unreal shader file
    • .ush - Unreal shader header
  10. WebGL/WebGPU

    • No specific extension (embedded in JavaScript/HTML)
    • .wgsl - WebGPU Shading Language

Would you like me to explain any specific shader language or provide more details about their uses and capabilities?

Paint

https://www.microsoft.com/en-us/windows/paint#layers

my high school teacher showed the students the following:

MS Paint Mona Lisa

Paint.Net

https://www.getpaint.net/

Adobe Photoshop

Adobe Cloud Suite

Ray Tracing

BRDF Cook-Torrance BRDF Bidirectional Reflectance Distribution Function

Interstellar

https://arxiv.org/pdf/1502.03809

https://arxiv.org/pdf/1502.03808

Stable-Diffusion-Webui

https://github.com/AUTOMATIC1111/stable-diffusion-webui

ClipChamp

https://www.microsoft.com/en-us/microsoft-365/clipchamp

Books

https://www.pbrt.org/

https://www.amazon.com/GPU-Gems-Programming-Techniques-Real-Time/dp/0321228324

https://learnopengl.com/

Bitmap

.bmp