u/ShivanHunter
In this archive from Nov 2011 to Jul 2014
- 6
- posts
- 13
- comments
- 4
- media
- 70
- score
Slick2D (Java) MULTIPLY blend mode broken?
[JAVA] How to multiply the RGB values of two BufferedImages in realtime?
In a 2D game I'm making, I have a BufferedImage that represents a lightmap (its RGB values are how well-lit a given area is), and another bufferedImage that represents a level. I can make them the same size if need be. How do I achieve a MULTIPLY blend effect (that is, R_out = R1*R2, G_out = G1*G2,...
Texture unit 0 blank when texture is loaded into unit 1 (GLSL) (complete noob)
relevant bit of main loop: http://codepad.org/Lmh1FZAr texture.cpp (load textures): http://codepad.org/OVMhjn3H shader.cpp (load shader): http://codepad.org/Q0qEbJn4 Yes I know I should comment my code. And if you see something that looks terribly wrong it probably is, I'm new to C++ but not to C or...
C++ DDS (DXT1) texture loading
So I'm a n00b when it comes to graphics coding, but I'm working on my own C++ OpenGL project. I loaded some DDS textures very easily when I was using JOGL because of its Texture class. From what I can tell, I'm supposed to: read in the source data, check the headers and capabilities to see if everyt...
Wavefront OBJ question
OK, not sure where to put this, but r/gamedev is pretty big so someone might have an answer. I'm trying to parse a Wavefront OBJ in Java, and it's ridiculously easy for the most part (although I know ASCII formats can't be at all efficient). From what I understand, the line defining a face contains...
End of this list.
Back to top