JiayinCao / Tiny-Shading-Language

A cross-platform programmable shading language ( CPU only )

Home Page:https://tiny-shading-language.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tiny-Shading-Language

Build TSL License

TSL ( Tiny Shading Language ) is my own shading language designed for my offline renderer SORT.

The goal of TSL is to provide shader programming ability to open source ray tracer projects. Though, it is specifically designed for my own renderer. This programming language can totally be used in any other CPU based ray tracing project.

Following is the image generated in the sample ray tracing program with TSL integrated in this project

Note

TSL is functional enough to replace all of the OSL features used in SORT at this point. However, due to crunching features in TSL, lots of code is terribly designed. I'm refactoring this library now to make it a bit more robust and friendly.

About

A cross-platform programmable shading language ( CPU only )

https://tiny-shading-language.com/

License:GNU General Public License v3.0


Languages

Language:C++ 77.0%Language:C 11.5%Language:Yacc 5.0%Language:CMake 3.2%Language:Lex 1.2%Language:Python 1.0%Language:Batchfile 0.8%Language:Makefile 0.4%