From 81ba73e74b5ec0b982e0371fea40ea3bcab07536 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 19 Apr 2005 23:56:57 +0000 Subject: [PATCH] add alpha-file syntax --- panda/src/doc/eggSyntax.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/panda/src/doc/eggSyntax.txt b/panda/src/doc/eggSyntax.txt index 928584517a..61b8dd54ad 100644 --- a/panda/src/doc/eggSyntax.txt +++ b/panda/src/doc/eggSyntax.txt @@ -130,6 +130,15 @@ appear before they are referenced. The following attributes are presently implemented for textures: + alpha-file { alpha-filename } + + If this scalar is present, the texture file's alpha channel is + read in from the named image file (which should contain a + grayscale image), and the two images are combined into a single + two- or four-channel image internally. This is useful for loading + alpha channels along with image file formats like JPEG that don't + traditionally support alpha channels. + format { format-definition } This defines the load format of the image file. The