- Home /
Question by
MCudlitz · Jan 19, 2017 at 01:05 AM ·
shadershadersgraphicsshader programmingshader writing
Adding a clip() to the default shader?
Hello! I want to add a clip command to the default shader, for a custom optimization method that I'm working on. The thing is, this shader is absolutely gigantic and I don't entirely understand how it's operating, or where I would be able to call clip to have it clip out rendering that entire portion of the material and not just one "layer" of it (say, clipping out albedo but leaving normals).
What would be my best bet for getting the results I want?
Comment