Original Post
I'm just wondering what everyone else is doing to make their shaders cross platform. Do a lot of people use Cg/CgFX? or do they make shaders for both GLSL and HLSL then ship whichever for whatever platform it will be run on.
I'm trying to make my engine cross platform and am tinkering on the idea of using Cg but I've never used it before (mostly just used HLSL/DX). Are they any big reasons why I shouldn't use Cg?
Cheers.
I'm trying to make my engine cross platform and am tinkering on the idea of using Cg but I've never used it before (mostly just used HLSL/DX). Are they any big reasons why I shouldn't use Cg?
Cheers.