Does anybody know how to do lightmaps in jogl? everything i've found is written in c++ and doesn't look even near to anything i've seen in java.
Printable View
Does anybody know how to do lightmaps in jogl? everything i've found is written in c++ and doesn't look even near to anything i've seen in java.
I think i've figured out how to do the lightmap. I can create images for the texture and lightmap in Java 2d. The lightmap will have lower color values for brighter lights. then i can subtractive apply the lightmap to the texture, load the image into openGL ang apply it. How do i do the subtractive blending?
Tnx in advance!