Source
- URL: https://x.com/ko_yuki_lo/status/1888414769205391405
- Author: YukiYa 🇨🇭→🇯🇵→🇨🇦 (@ko_yuki_lo)
- Posted: 2025-02-09 02:29:00
Branch
1/ @ko_yuki_lo
@iquilezles
Thanks for that. I’ve been told that the “if” node wad heavier a while ago. So i was using lerp in my shaders in unreal engine. Im not even putting the step because i ensure the value to be 0 or 1 into a parameter. Someone told me that actually “if” node is not that heavy
2/ @iquilezles
@ko_yuki_lo
Always measure (and/or check generated code)