Skip to content

FomTarro/ShaderLoader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shader Loader

A an example for loading shaders from an external file.

How to Use

  • Follow the Asset Bundle Workflow to make and compile shaders in-editor.
  • The example code will then load the bundles out of StreamingAssets/Shaders and populate the dropdown UI element

In practice, the workflow will involve having users export custom shaders using the Unity editor, and having the standalone application be able to read these bundles at runtime. Sadly, there's no way for Unity to compile shaders at runtime, yet.

About

Load shaders from external asset bundles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published