Multiplayer binary transfer improvements; Better multi-monitor support; New examples.
Is there a way we can support f16 in 3rd party shaders, I didn't find a preprocessor macro?
I guess it's difficult because it would also need to be f16 when creating the uniform struct.
Construct defines an f16or32 type for shaders. It's documented here.
oh awesome, so we just do:
struct ShaderParams {
myParam : f16orf32
};
Thanks!
Actually I don't think f16 will work for shader parameters - currently Construct always writes those as f32. However you can immediately cast the value to f16 and do any further calculations with reduced precision.