Advertisement Jump to content
Sign in to follow this  
Shashi

OpenGL OpenGL lightmaps

This topic is 4967 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

Well currently I'm using a gfx card that doesn't support the ARB extensions, so I can't multitexture the lightmap on. I tried blending the lightmap onto the texture, but it looks rather strange, not the type I expected.

Share this post


Link to post
Share on other sites
Advertisement
Either one, manually blend it outside of the program or two, keep trying with the blending functions. I'm not sure which is the one that works, but I know one does. Also, maybe if you use the standard OpenGL lighting, you might get the effect you want.

Share this post


Link to post
Share on other sites
Quote:
Well currently I'm using a gfx card that doesn't support the ARB extensions

whats the chipset? perhaps u dont have the drivers installed correctly
if u can only get opengl1.1 (software) cause it is a 10year old card, yould be better off using mesa. supports opengl1.5 and soon to include glsl

Share this post


Link to post
Share on other sites
If you don't have support for multitexturing, do a second pass with the lightmaps using glBlendFunc(GL_DST_COLOR,GL_ZERO);

Share this post


Link to post
Share on other sites
It worked, thanks mikeman.
kburkhart84: I didn't want to bake the texture in, cuz I wanted some sort of
dynamic lighting.
zedzeek: what the heck is mesa? I don't have an actual gfx card, its just the one in-built to my motherboard. An asustek socket A.

Share this post


Link to post
Share on other sites
Mesa is a software implmentation of OpenGL. Dont use it, get a modern budget video card if you can.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!