danbias-texture-converter/README.md

26 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2014-05-08 17:19:07 +02:00
Texture Converter - Manual
=========================
2014-05-10 11:43:17 +02:00
*Bakes together 2 images into the resulting image RGB=(A:rgb) + A=(B:avg(rgb))*
2014-05-08 17:19:07 +02:00
**Usage**
2014-05-10 11:43:17 +02:00
2014-05-08 17:19:07 +02:00
In windows explorer, select 2 images and drag&drop them onto the executable.
When selecting, make sure to select the RGB source image first.
**What it does**
2014-05-10 11:43:17 +02:00
2014-05-08 17:19:07 +02:00
Takes the RGB channels from image B.
Calculates the greyscale of them, ie averages them into one value.
The final image exported has the RGB-values from image A, and as its alpha value is the calculated greyscale value of image B.
In short:
RGB=(A:rgb)
A=(B:avg(rgb))
**Why?**
2014-05-10 11:43:17 +02:00
2014-05-08 17:19:07 +02:00
In the current version of the Oyster rendering engine there is no support for transparent objects, aside from particles. This makes the alpha-channel of the diffuse texture redundant. We made the design choice to use that free alpha channel to store our glow-factor.
The same goes for our normal map, we use the alpha value slot to store our specular factor. The specular light factor has been reduced to one value; as opposed to two values.
MADE FOR the indie game NO EDGE, http://noedge.nerdcavestudio.com/