Skip to content

Reverse render dragon shaders source code from .bin file. REBORN

License

Notifications You must be signed in to change notification settings

lonelyang/RenderDragonSourceCodeInv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RenderDragonSourceCodeInv

Reverse render dragon shaders source code from .bin file

REBORN

Building

Recommended to build on Windows, because bgfx shaderc does not support compiling Direct3D shaders on other platforms

Windows

  1. Run setup_build_environment.bat. This script will automatically download MaterialBinTool with shaderc and the data used to build materials.
  2. Run build.bat without arguments to build all materials for all platforms, or use arguments to specify which materials and platforms to build.

The available arguments are:

-t, --threads:     Specifies the number of threads to use for compilation. The default value is 1.
-p, --platform:    Specifies one or more target platforms. If not specified, build for all platforms.
-m, --material:    Specifies one or more materials to build. If not specified, build all materials.
--debug:           Enables debug information.

Examples:

Build all materials for all platforms:

./build.bat

Build RenderChunk and Sky for Windows and Android:

./build.bat -p Windows Android -m RenderChunk Sky

About

Reverse render dragon shaders source code from .bin file. REBORN

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 43.2%
  • SuperCollider 36.4%
  • Shell 19.0%
  • Batchfile 1.4%