Archived This project has been archived. Unity 5.6 or newer files no longer have this text based format.
A python module to parse the metadata from Unity3D shaderlab text files.
Use the shaderlab.parse()
method to create an shaderlab.Shader
object containing the shader meta data.
import shaderlab
with open(file, "r") as f:
data = f.read()
slab = shaderlab.parse(data)
- Python 3.x
- ply package