Giter Club home page Giter Club logo

virtualightjs's Introduction

VirtuaLightJS

A Physically Based Rendering engine created from scratch in WebGL2, compatible with at least Windows and Linux. (Smartphones not supported, can't test on macOS)

Demo

Right here: https://frguthmann.github.io/VirtuaLightJS/

Features

  • Multiple meshes loading from .ply or .off files. Plys preferred as they provide UV textures.
  • Individual control over meshes position, size and orientation through GUI.
  • Multiple point lights with control over color, intensity and position through GUI.
  • Fully Physically Based Shading of objects including albedo, metallic, ambient occlusion and roughness map.
  • Normal mapping with TBM matrix computed on the fly by the graphic card.
  • Shadow Map for 1 light generated by simulating a directionnal light (WIP) with Percentage Closer Filtering
  • Skybox transformed from equirectangular to cubemap at runtime
  • Environnement based diffuse lighting with irradiance map baked on the fly from environnement map
  • Specular IBL using split sum approximation by Epic Games (Unreal Engine 4) with precomputation at startup.

Textured Models

Textures

IBL Environment

Great Teachers

Special Thanks

The original name was coined by Quentin Beauvillard, on Facebook Messenger by a warm night of summer 2017

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.