[jitter] first shader
andrew benson
andrewb at cycling74.com
Thu Nov 8 11:21:04 MST 2007
- Previous message: [jitter] first shader
- Next message: [jitter] first shader
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
your problem is most likely in this line: <param name="image" type="float" default="0" /> Change type to "int" and you will probably be okay. FWIW, I would recommend ditching all of that conditional stuff (if...) and replacing with mix() and step() type functions. Support for conditional statements is pretty unpredictable in GLSL. Best, Andrew B.
- Previous message: [jitter] first shader
- Next message: [jitter] first shader
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
