Sign in to follow this  
griffin2000

OpenGL Shaders without CG ?

Recommended Posts

So I was thinking of trying out the new Shader-model 4.0 features described here and here. But it looks like the new CG compiler is not out yet. Does OpenGL support handcoded assembly without a CG compiler ? What does the API look like ? Would I have to manually code in actually microcode ? (pretty tricky as the format is not published :-)) Or is there an assembler that can generate microcode from human readable ASM ?

Share this post


Link to post
Share on other sites
Why would you use CG when you could use GLSL directly? The new shader model features are available both via extensions to GLSL and extensions to the ARB program languages.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this