TransWikia.com

Conditionals and branching in shaders

Computer Graphics Asked on August 27, 2021

This is a quite wide subject which implies a lot of topics such as the platform or the compiler, but I think that it could be useful for everyone to know more about this.

A common mistake is to think that conditionals are bad when writing shader but the real bad thing is branching, right ?

I would love to know more about the difference between conditionals and branching with simple concrete examples and how to solve common issues.

Thanks

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP