Jump to content

  • Log In with Google      Sign In   
  • Create Account


roguan

Member Since 04 Jan 2011
Offline Last Active Dec 15 2012 10:01 AM
-----

#4757366 Lighting Trouble

Posted by roguan on 11 January 2011 - 03:22 PM

Silly me.
			gl.glTexEnvf(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE,
					GL10.GL_REPLACE); // This seems to be causing the behaviour

// !!!!
//			gl.glTexEnvf(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE,
//					GL10.GL_MODULATE);

Well, that's what I was about to do after finishing my particle system class. Oddly enough, after activating my particle system, lighting began working.

I'll update the thread when I isolate the problem. It's going to be something stupid and obvious in hindsight.

Thanks for your help thusfar.




PARTNERS