Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Collection of three.js examples using lygia shader library

NotificationsYou must be signed in to change notification settings

guidoschmidt/examples.lygia-threejs

Repository files navigation

These are examples of how to useLYGIA Shader Library withthree.js

Live examples:lygia.guidoschmidt.cc


ExamplePreveiw
marching squares [2D]Marching Squares [2D]
forward rendering [basic]Forward rendering [basic]
forward rendering [advanced], 5 x 5 PBR MaterialsForward rendering [advanced]

How to start?

Clone this repository including its submodules.LYGIA is used asgit submodule in this repository.

git clone --recurse-submodules git@github.com:guidoschmidt/lygia_threejs_examples.git

Run the examples

The repository contains several examples in. Each example is its own sub-project. You can start each example as following:

cd 3d-forward-rendering-basicnpm| yarn| pnpm installnpm| yarn| pnpm dev

You can also start an overview HTML page by running just:

npm| yarn| pnpm dev

Open Issues & Ideas

  • Use THREE.js internal light shadow map. Currently it looks like there's anincosistency when usinglight.shadow.map.texture as the shadow map texture.
  • Create a customLygiaMaterial in order to integrate into THREE.js renderpipeline
  • Pass all PBR material parameters to the Lygia shaders/materials

About

Collection of three.js examples using lygia shader library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp