Writing a custom Inward shader