Jump to content

  • Log In with Google      Sign In   
  • Create Account


drjaydenm

Member Since 16 Aug 2012
Offline Last Active Mar 18 2013 06:03 PM

Posts I've Made

In Topic: Help with CGFX

05 March 2013 - 03:08 PM

Alright, thanks for your help :)

In Topic: Help with CGFX

05 March 2013 - 03:48 AM

I was thinking about using just the Vertex and Fragment programs instead of the whole effect file. Is there any benefit (other than the fact I can use techniques and passes), of using effects instead of the individual programs if I am doing all my state changes in my program code instead of in the effect? I can't think of any reason off the top of my head.

 

Looks like i'll try using individual programs and see how it goes.


In Topic: Help with CGFX

05 March 2013 - 02:22 AM

Thanks for your advice,

 

I will take a look at HLSL2GLSL as it does look promising. It is sad though, that CG is not able to output an effect file as DX bytecode and requires you to use their runtime instead of DX's. If it allowed you to do that, it would be an efficient solution to cross platform shaders.


In Topic: Help with CGFX

04 March 2013 - 09:53 PM

Thanks for your help,

 

I could just do that but I am trying to look for a universal solution where I can take the CGFX effect, compile to the specific rendering API like DX10, save the results as a DX10 effect and then load the DX10 effect at runtime without using the CGFX API to set each parameter and so on.

 

I could always just compile the effect using CGFX, get all programs in the effect, extract the DX10 data and make a DX10 effect out of that, although I am pretty sure I would lose the information on techniques and parameters.

 

Any ideas guys?

 

Thanks.


In Topic: DDS Loading Into Texture2D

30 January 2013 - 07:44 PM

Thanks for the info, I think I should be able to get it done now. Also, just double checking, is BC3_UNORM the correct format to be using with DXT5?


PARTNERS