Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Loading of grayscale textures  (Read 330 times)
0 Members and 1 Guest are viewing this topic.
Offline lebasti

JGO n00b
*

Posts: 32


Java games rock!


« on: 2005-03-04 04:27:27 »

Hi!

Anybody out there who has got loaded 8-bit grayscale png's as a texture? Which settings should I choose for glTexImage2d and how should I transform the BufferedImage and copy it into ByteBuffer? I've tried some loaders from this forums (the one of big textures thread and some other), but I failed Sad.

cheers

basti

....I and I nah signature....
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.101 seconds with 21 queries.