Jump to content

Problem with displacement layer for alphamask.shader


R.E.Z.
 Share

Recommended Posts

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.

Leadwerks Standart Edition RTS Creator

Link to comment
Share on other sites

  • 3 weeks later...

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.

 Share

×
×
  • Create New...