public void Execute(ref WooState state) { if (_ShaderMode) { state._DistanceFunction = state.GetShader(_DistanceFunction).Evaluate(state); } else { state._DistanceFunction = "set(distance, " + _DistanceFunction + ")"; } }
public void Execute(ref WooState state) { if (_ShaderMode) { state._DistanceFunction = state.GetShader(_DistanceFunction).Evaluate(state); } else { state._DistanceFunction = "set(distance, " + _DistanceFunction + ")"; } }
public void Execute(ref WooState state) { state._MaterialFunction = state.GetShader(_MaterialFunction).Evaluate(state); }
public void Execute(ref WooState state) { state._MaterialFunction = state.GetShader(_MaterialFunction).Evaluate(state); }