Jump to content
IGNORED

tga2cry intenisity relative to 0x80


phoboz

Recommended Posts

Does anyone know if the tga2cry tool has an option to pre-process a texture to set all intensities relative to 0x80?

 

This is required for all shaded textured polygons, and it's annoying to do that manually in the code for all textures.

Edited by phoboz
Link to comment
Share on other sites

https://github.com/cubanismo/tga2cry/blob/master/tga2cry.txt

Options for CRY output:

(...)

-relative n:
	Make all intensities signed offsets relative to n. This may
	be useful for producing shading or stained glass effects with
	the blitter. (The "-f glass" option is like "-relative 0x80",
	but also discards color information).

 

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...