跳到主要内容
← Built-In functions

Built-In functions

反向step

float invertedStep = 1.0 - step(0.5, uv.x);

代码复盘 GLSL

第 15 课:反向step

本课暂无代码,待后续补充。

复盘笔记

  • float invertedStep = 1.0 - step(0.5, uv.x);