Git Product home page Git Product logo

lygia_examples's Introduction

This are GLSL examples of how to use LYGIA Shader Library. You can try them using:

How to start?

Clone this repository recursivelly

git clone --recursive https://github.com/patriciogonzalezvivo/lygia_examples.git

DRAW

Digits

glslViewer draw_digits.frag -l

Filter

boxBlur 1D

	glslViewer filter_boxBlur1D.frag assets/danny.png -e buffers,on -l

boxBlur 2D

filter_boxBlur2D:
	glslViewer filter_boxBlur2D.frag assets/danny.png -l

GaussianBlur 1D

	glslViewer filter_gaussianBlur1D.frag assets/danny.png -e buffers,on -l

GaussianBlur 2D

	glslViewer filter_gaussianBlur2D.frag assets/danny.png -l

BilateralBlur 2D

	glslViewer filter_bilateralBlur2D.frag assets/danny.png -l

RadialBlur 2D

	glslViewer filter_radialBlur2D.frag assets/danny.png -l

NoiseBlur 2D

	glslViewer filter_noiseBlur2D.frag assets/danny.png -l

Median 2D

	glslViewer filter_median2D.frag assets/danny.png -l

Kuwahara 2D

	glslViewer filter_kuwahara2D.frag assets/danny.png -l

Sharpen 2D

	glslViewer filter_sharpen2D.frag assets/danny.png -l

Laplacian 2D

	glslViewer filter_laplacian2D.frag assets/danny.png -l

Edge 2D

	glslViewer filter_edge2D.frag assets/danny.png -l

LIGHTING

Gooch

glslViewer assets/dragon.obj lighting_gooch.frag -e camera_position,1.43923,-0.891203,-1.98093 -l

PBR little

glslViewer assets/dragon.obj lighting_pbrLittle.frag -e camera_position,1.43923,-0.891203,-1.98093 -l

PBR little with cubemap

glslViewer assets/dragon.obj lighting_pbrLittle.frag -e camera_position,1.43923,-0.891203,-1.98093 -C assets/uffizi_cross.hdr -e dynamic_shadows,on -l 

Raymarching

glslViewer lighting_raymarching.frag -e camera_position,-29.5393,-26.2406,-42.1865 -l

Raymarching custom PBR

glslViewer lighting_raymarching_pbr.frag -e camera_position,-29.5393,-26.2406,-42.1865 -l

Raymarching custom PBR with CUBEMAP

glslViewer lighting_raymarching_pbr.frag -e camera_position,-29.5393,-26.2406,-42.1865 -C assets/uffizi_cross.hdr -l

Raymarching custom GLASS material

glslViewer lighting_raymarching_glass.frag -e camera_position,-29.5393,-26.2406,-42.1865 -l

Raymarching custom GLASS material with CUBEMAP

glslViewer lighting_raymarching_glass.frag -e camera_position,-29.5393,-26.2406,-42.1865 -C assets/uffizi_cross.hdr -l

Raymarching efault VOLUME

glslViewer lighting_raymarching_volume.frag -e camera_position,-29.5393,-26.2406,-42.1865 -l

lygia_examples's People

Contributors

patriciogonzalezvivo avatar

Forkers

technologyarts

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.