Sign in to follow this  

Rendering With Only GLSL

This topic is 3860 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

My renderer uses strictly GLSL. I tried to disable the GPU program to draw some unlit lines with Fixed Function PL but couldn't get it to work so I just used my "FlatShader" to draw them.

GLSL makes it way to easy to add new features, I suggest you go for it.

edit: When getting started I asked what shaders I should start with. Here are the shaders I use to give you an idea.

Ready for GLSL
Program Log: c:\media\shaders\shadow.shader <-depth only
Program Log: c:\media\shaders\flat.shader <-no lighting
Program Log: c:\media\shaders\brightfilter.shader <-bright pass filter
Program Log: c:\media\shaders\finalmix.shader <-final scene mixer
Program Log: c:\media\shaders\horizontalblur.shader <-blur filter
Program Log: c:\media\shaders\verticalblur.shader <-blur filter
Program Log: c:\media\shaders\pervertex.shader <-simple lighting
Program Log: c:\media\shaders\simple.shader <-not so simple lighting/shadowing
Program Log: c:\media\shaders\sky.shader <-sky renderer

All but the last 3 are loaded by the renderer for scene independent use. The last 3 are loaded as needed by loading models into the renderer.

Share this post


Link to post
Share on other sites
It won't be deprecated soon. GL 2.1 is likely to be the last version.
Then comes GL lean and mean, which won't have FFP at all. It will be a thinner API and will be different.

Share this post


Link to post
Share on other sites

This topic is 3860 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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