Skip to content

skibon02/webgl-rtx-precompute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raytracing precomputation example in WebGL 2.0

image

Controls:

1 - enter real-time mode

2 - enter precomputation mode

i/o - Using raytracing precomputed texture off/on

P while in precomputation (2) mode - save texture to fille

drag'n'drop file to app - load texture from file

Try it yourself!

When you open the app, simple (1 bounce) real time lighting is used. Next, press 2 to switch to the precomputation mode, wait about 1 minute and press 1 to return back. Now you can press o and enable using precomputed luminance information from texture!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages