Removing hard coding of caustic shader