louiselessel / Touchdesigner-tools

Small touchdesigner help tools
15 stars 0 forks source link

Convert Pi: pi needs a #define in front of precision #3

Open louiselessel opened 3 years ago

louiselessel commented 3 years ago

Issue:

define precision highp float; //<------------- make sure to automatically add #define to precision if it is not there

//precision highp float; // original code

Happened when trying to convert this shader https://www.shadertoy.com/view/ltBfDt

louiselessel commented 3 years ago

other RPI related issues persist for this shader. Look into edge case