Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary branch in trail shader
Branches have an outsize penalty in shaders as does discard. We don't need the check that the fragment is in the region anyway ans the rendering pipeline takes care of that for us, I think. At least I can see no visual difference with it removed. @jinhwanlazy please review
- Loading branch information