Hampel
07-14-2008, 12:36 AM
Based on the interface of DX10 (and I guess and hope the upcoming GL3 API will be very similar) it would be easy to write a thin wrapper for DX9, DX10, GL2.1 and GL3 backends on a rendering device level.
The heardest problem will be to overcome the differences in the shading languages. How do you deal with this problem? Using CG? Using another intermediate language? Writing shaders twice.
The heardest problem will be to overcome the differences in the shading languages. How do you deal with this problem? Using CG? Using another intermediate language? Writing shaders twice.