Update README.md
This commit is contained in:
parent
21f5d57de6
commit
c39459c670
|
@ -1,12 +1,14 @@
|
|||
Texture Converter - Manual
|
||||
=========================
|
||||
Bakes together 2 images into the resulting image RGB=(A:rgb) + A=(B:avg(rgb))
|
||||
-----------------
|
||||
*Bakes together 2 images into the resulting image RGB=(A:rgb) + A=(B:avg(rgb))*
|
||||
|
||||
**Usage**
|
||||
|
||||
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**
|
||||
|
||||
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.
|
||||
|
@ -15,6 +17,7 @@ RGB=(A:rgb)
|
|||
A=(B:avg(rgb))
|
||||
|
||||
**Why?**
|
||||
|
||||
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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue