Author Topic: Anyone decent with OpenGL? --- V3 Shaders uploaded 8:28 am est  (Read 1960 times)


I know what a normal is and I know what they should be.
I mean, just look at the code I posted above and you should at least see it tries to get normals.
But thanks for trying anyway. Also those are functions from the deprecated opengl 1 and 2 fixed function pipeline but i wouldn't expect anyone here to know what that means

I guess I'll just try rewriting the shaders all over again.
One of the problems here is that I wrote them so long ago that I've got about as good idea about what they are as any of you do.

All I know is just C++. Haven't looked at OpenGL yet.

How did you learn to make things like that in OpenGL, ive been wanting to learn for MONTHS, if you could pls link me to good tutorials or how you learned.

Updated the shaders to actually use arrays rather than 8 separate uniform variables.
Since all lights now use the exact same code at least this means I won't have one light with a different problem from the rest.

How did you learn to make things like that in OpenGL, ive been wanting to learn for MONTHS, if you could pls link me to good tutorials or how you learned.
http://lmgtfy.com/?q=opengl+tutorial
Like really, the first result is great

http://lmgtfy.com/?q=opengl+tutorial
Like really, the first result is great
Yeah, I don't really get why people ask me.
I'm obviously not even that good.

Is the only issue that light power is inverse?

Is the only issue that light power is inverse?
You mean that it's made negative somewhere?
Or that it has an inverse relationship to some other variable?


Welp, this will be my last bump.
Not sure why I expected to get help here.