I have two textures I need to process in a shader (depth maps). One is float, the other is short (integer).
Can I do some kind of type conversion? Or are shaders able to compare floats and ints?
↧