Skip to content

armgit / vork

Public Imported from GitHub
0

Headless 3D and VFX engine for agents. Research preview.

848 B
Raw Blame
// Generated by materials.rs input_slang(): the material record and the inputs shading reads directly.
import vork_constants;
struct MaterialRecord { uint4 tag; float4 extra; uint4 inputs[10]; float4 values[15]; };
static const uint MATERIAL_OPACITY=29u;static const uint MATERIAL_OPACITY_WORD=45u;
static const uint MATERIAL_CUTOFF=36u;static const uint MATERIAL_CUTOFF_WORD=58u;
static const uint MATERIAL_THIN=30u;static const uint MATERIAL_THIN_WORD=46u;static const uint MATERIAL_TRANSMISSION=8u;static const uint MATERIAL_TRANSMISSION_WORD=12u;
static const uint MATERIAL_COAT_NORMAL=33u;static const uint MATERIAL_COAT_NORMAL_WORD=53u;static const uint MATERIAL_NORMAL=31u;static const uint MATERIAL_NORMAL_WORD=47u;static const uint MATERIAL_TANGENT=32u;static const uint MATERIAL_TANGENT_WORD=50u;static const uint MATERIAL_OCCLUSION=37u;