texture_slot "texture"; shader "generic.shader" { uniform1i "shadow" 3; }; pass "shadow" { shader "shadow.shader"; };