I made a example code in glsl and I'am using if(diffuse.rgb > vec3(1)) and it gives a "cannot compare vector or matrices" error. and if I do this if(diffuse.rgb == vec3(1)) it runs without error, thanks.
if(diffuse.rgb > vec3(1))
if(diffuse.rgb == vec3(1))
Aucun commentaire:
Enregistrer un commentaire