Jump to content

Koopinator

Members
  • Posts

    4
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Koopinator's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Sorry if I'm missing something obvious, but I've been looking into it and I'm still completely lost as to how I can start writing the code for merging textures together. From your posts I'm guessing that there are methods I can use that are accessible with TESR? Or is there a different approach to the problem that using TESR would help with? Edit: Scratch that. I'm guessing that the best way to implement the process of merging textures is to tie it to the rendering of the block, and so I need to set up a TESR for that purpose. As far as the merging itself, I need to study GL11 to find the correct methods to use. Is this correct?
  2. At the moment I already have the combinations set up with a basic TileEntity, and have the textures assigned by using an instance of IBlockAccess from the getBlockTexture(...) method in my block class. Will this work, or do I need a TileEntitySpecialRenderer in order to combine multiple images into a single texture?
  3. Here's a screenshot of the mod for context: Each double slab is created using a single blockID with textures assigned through a TileEntity. The main issue that I'm having is that all of the textures on the sides of the blocks are pre-made: Because there are an exponentially large number of slab combinations added, I would much rather set things up so that the textures are created while the game is running. Ideally I would merge two preexisting textures on top of one another and use an alpha layer used to "erase" half of the top texture. Unfortunately I have very little experience with graphics programming, and so I have no idea how to start work on this, if it's the best approach to use, or if it's even possible to do in Java. Please let me know if there's any other information I can provide. Any help will be greatly appreciated
  4. I have very little experience with graphics programming, so sorry in advance if I'm missing something obvious I'm looking for a way to "layer" multiple textures onto the same face of a block. From what I can tell grass in vanilla Minecraft already does this: ...with one texture (edited in the screenshot) being applied to the side of grass blocks, and a second texture (default in the screenshot) being colorized separately and then added on top of the first. Assuming I'm correct, how and where in the code does the texture combining happen? Otherwise, how exactly does "fancy grass" work?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.