Jump to content

Recommended Posts

Hello People!

I've recently started working on a mod, and after some time editing/creating textures I began to find the process of exporting and atlasing my textures very tedious.
So I decided to write a plugin for Photoshop (the tool I use to create my textures) based on TexTool.

Thought I'd be sharing it with you all.

Here are the plugin's panels:

image.png.5ef93d52394ff4f628abea5d366fcd1a.png

How to use the plugin:
Export panel:
It works just like TexCreator, but the input is the active Photoshop document.

Options:
  Output Folder: The folder where the tex and atlas files are going to be exported to
  Pixel Format: The type of compression used to create the tex file
  Texture Type: The texture type, I actually don't know what this does I always leave it at 1D, if anyone knows I'd be pleased to learn what it does.
  Mipmap Filter: The interpolation method used when resizing the image to create the mipmaps.
  Generate Mipmaps: Wether to generate mipmaps.
  Pre-Multiply Alpha: Wether to pre multiply alpha channels when generating mipmaps, this option doesn't do anything at the moment, all mipmap filters implemented do it by default.
  Export atlas: Wether to export an atlas file or not, a grid can be specified so that all textures will be atlased to multiples of the grid.

Import panel:
This panel imports a tex file, and optional atlas file, into a Photoshop document.

Options:
  Tex File: The tex file to be imported.
  Atlas File:
The acompannying atlas file, if selected separates the imported tex file into layers based on the elements specified on the atlas file.


GitHub Repo:
https://github.com/LobatoLobato/PSTexTool


Plugin File:
lobatolobato.tex.tool.plugin_PS.ccx
 

  • Like 3

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...