Hey folks, is there any way to specify int precision in usf shaders to be 32bit on android vulkan? My int variable in usf has only 16bits when launched on android device.
Hello JointHex,
Have you found the ‘Float Precision Mode’ dropdown inside of the Material Settings?
The tooltip does mention that some older mobile devices might not support high precision.
Thank you for your help! Actually, I’m not using materials. I create a UAV texture using RDG and use a compute shader to write it. And in my compute shader I have a function that use a int variable. And I find that if I initialize it with a half variable, my assignment to the int variable’s high 16 bit later takes no effect. But if I initialize it with a float variable, my assignment later works properly.