Giter Site home page Giter Site logo

shader-work's Introduction

shader-work

A collection of GLSL shaders that I've written since December 6th, 2023.

What

Shaders are programs that run on GPUs and render graphics either in real-time or with some preprocessing. Shaders can create graphics by themselves, or work with existing objects to add effects like shadows/realistic lighting, etc. My focus is currently on Fragment shaders, which work as standalone graphics most of the time, but I aim to be able to write complex lighting and water graphics.

Why

I have always wanted to do game development visuals but would likely get decimated in the industry. I'll self-study graphics development until I'm sure that I'll survive.

How to understand and use this repo

GLSL files don't have a specific filetype, but GLSL's creators have decided on a file extension format depending on the type of shader as follows:

  • .vert - a vertex shader
  • .tesc - a tessellation control shader
  • .tese - a tessellation evaluation shader
  • .geom - a geometry shader
  • .frag - a fragment shader
  • .comp - a compute shader

You can see each file's render in higher resolution and framerates than the demos below by copying and pasting the GLSL file contents into a ShaderToy environment (you can do it in your browser!).

Demos

Below are video demos of the shaders that I have worked on. They are lower-quality videos, and I highly recommend that you go and compile one of these in ShaderToy if you like it. It won't even take a minute!

1. Diamond Visualizer

diamondVisualizer.webm

2. Starfield

starfield.webm

shader-work's People

Contributors

tuansydau avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.