PDA

View Full Version : Default lighting behavior?



halo
11-26-2006, 09:40 AM
I can't seem to find a vertex shader that simply mimics OpenGL's default lighting behavior. This is the first step to switching my renderer over to shaders. There are other things I want to do, but first I need to just get the basic lighting to work the same.

Komat
11-26-2006, 10:46 AM
Look at the ShaderGen (http://developer.3dlabs.com/downloads/shadergen/index.htm) tool created by 3Dlabs.

halo
11-26-2006, 11:00 AM
Oh man, you don't know how close I was to killing myself before you came along.

halo
11-26-2006, 07:00 PM
Hmmm...I'm getting there. GLSL is pretty funky to use.

knackered
11-28-2006, 06:27 AM
the understatement of the year.

ZbuffeR
11-28-2006, 07:26 AM
Can some of you native english speakers explain what 'funky ' really mean ?

I read up and down this :
http://www.answers.com/funky

But I can't understand what you mean with :
"GLSL is pretty funky to use"

gstrickler
12-05-2006, 02:54 PM
1. The oldest meaning is "smells bad", as explained on the /funky link.

2. In the 1960's and 70's, applied to music it meant "cool" and applied primarily to jazz and soul music. Do you remember "Funky Town" or "play that funky music..?"

3. When used in a technical context, it means that something is not quite what it should be or does not work as you would expect or want it to.. the thing kinda "stinks". Remember the first definition is "smells bad."

ZbuffeR
12-06-2006, 01:02 AM
Ok thanks a lot, so there are basically two meanings, one (generic) is negative, the other (music) is positive... I only knew the later :)