hey guys here is a very early sort of opengl engine ive been tinkering with and building for the past few weeks.
it was actually an old state engine i made for a game years ago. but i stripped it all back and started building it up geared towards demo states and glsl.. anywho it was all going nicely until i filled state 2 with a tangent example i found on the net,
for some reason no matter what i try i cannot get the cube too render im sure my vbo's are not getting through but cant see why not?! i know my shader loading and texture mapping is fine because the first state is a specular example and that works fine.. so a bit stumped atm.
you will see when you run it. it starts in state 1, then moves on too state 2 with a white background well there should be a great big bump mapped cube there.. lol. states 4 and 5 are pretty much unworked on atm.
if anyone could cast an eye on this and give me some pointers i would be mighty greatfull!!
when it gets too the 4th state just hit enter too make it loop again.. and the whole demo state thats causing me trouble is in ApophisState2.cpp.