x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Texture alpha. Bug or strange treatment by editor

I'm trying to boost performance of out game. One of steps is to create atlases. The oryginal material had two textures. One for Base Color, and the second for Roughness. Both compress as Default.

I decide to pack Roughness as Alpha channel in atlas. This is where problem start. In texture preview old texture and new (alpha) are nearly identical (compression probably), but in material alpha is more then 10x brighter!! On screenshot below I used multiply by 1 node for preview window. The texture of intrest is the one in the middle of bottom line on the altas.

Here are the textures to download https://we.tl/tTIQQU6jq5

What is going on. Is it a bug, or a way how editor treat alphas in material editor?!

Illustration of the problem Textures comparasion

Product Version: UE 4.15
Tags:
screenshot_2.png (109.4 kB)
screenshot_5.png (903.4 kB)
more ▼

asked Jun 26 '17 at 11:49 AM in Using UE4

avatar image

Adder1812
13 4 6

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

For me it just helped to use Power of 2.2. And maybe even this is just needed for previewing purposes.

I know you tried it... but it's just a proof that in my case it works well ;)

Unreal version: 4.16.1

alt text

gamma.jpg (214.5 kB)
more ▼

answered Jun 26 '17 at 01:51 PM

avatar image

Oskar Świerad
378 13 28 28

avatar image Adder1812 Jun 26 '17 at 02:53 PM

Normally, I would agree, and it do work in OTHER cases. This is not the first time I use this technique.. :(

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question