R.E.Z. Posted May 24, 2014 Share Posted May 24, 2014 Hello, I created several materials using a alphamask.shader in LE Indie Ed 3.1. (diffuse+normal+specular+alphamask.shader) They all did work out fine: Using for the displacement Texture a TGA with the black colour for the holes and the white, where it is solid and no light can pass through. This worked for even bought Textures and also some I did create on my own: Creating the displacement-layer in Corel Draw 8 --> export as an Adoble Illustrator --> Improt to Photoshop 5.5 --> Import to Gimp --> creating displacement Layer and Diffuse Layer --> WORKS OK Now the Problem: Starting with a JEPG, pasting it als a new Layer into a File (RGB) with transparent Background, creating a layer for displacement Layer and Diffuse Layer and exporting them as a TGA or PNG --> does not work Where the holes are supposed to be, there is just black colour. For the creation of the displacement layer I set the selection tool to "0 Tolerance" to avoid smoothing at the borders and disabled smoothing. The Key to the Problem must somehow be in the difference between used TGA Files and the JPEG: JEPG has no alpha channel. Might that be the reason? How then could I create a displacement Layer, starting out with a JEPG texture. Using Gimp. Does anyone might have a hint for me? I am puzzled. C.U. R.E.Z. Quote Leadwerks Standart Edition RTS Creator Link to comment Share on other sites More sharing options...
Admin Posted May 24, 2014 Share Posted May 24, 2014 JPEG files and textures with DXT1 compression do not store alpha channels. A TGA image using DXT5 compression should work. Quote Link to comment Share on other sites More sharing options...
R.E.Z. Posted June 14, 2014 Author Share Posted June 14, 2014 Hello, using DXT3 rengering for my *.TGAs did it Thank You C.U. R.E.Z. Quote Leadwerks Standart Edition RTS Creator Link to comment Share on other sites More sharing options...
Recommended Posts
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.