Answers.Body: <p>it's not a bug, it's the nature of collapse transformation switch, and when you've added this dummy effect you simply have disabled the collapse transformation.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-01T22:09:26.107Z
Answers.LastActivityDate: 2018-01-01T22:09:26.107Z
Answers.UserDisplayName: Hani Tiby
Body: <p>AE 2017.2 Release. I'll try to be as clear as possible:</p>
  
  <ol>
  <li><p>I create a comp with two text layers:
  <a href="https://i.sstatic.net/jcGL9.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/jcGL9.png" alt="enter image description here"></a></p></li>
  <li><p>I precompose those two text layers and set Nested Comp's Opacity to 30%:
  <a href="https://i.sstatic.net/me3LH.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/me3LH.png" alt="enter image description here"></a></p></li>
  <li><p>In Nested Comp I apply Bevel and Emboss to the upper text (setting Shadow's and Highlight's Opacity to 0%, so B&amp;E is effectively nonexistent):
  <a href="https://i.sstatic.net/Tr9es.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Tr9es.png" alt="enter image description here"></a></p></li>
  <li><p>In Containing Comp I switch Collapse Transformation On and upper text's <strong>opacity goes to 100%:</strong>
  <a href="https://i.sstatic.net/okfsS.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/okfsS.png" alt="enter image description here"></a>
  <strong>The end.</strong></p></li>
  </ol>
  
  <p>Add 1. It's not like upper text's Opacity is not affected by Nested Comp Opacity parameter. More like it becomes binary. If I set it to any value >0%, upper text will be 100%. If I set it to be 0%, upper text becomes 0%.
  <a href="https://i.sstatic.net/Y29C5.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Y29C5.png" alt="enter image description here"></a></p>
  
  <p>Add 2. In Layer Styles it's not about B&amp;E but rather Blending Options. I may delete B&amp;E and everything remains the same:
  <a href="https://i.sstatic.net/yOa9s.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/yOa9s.png" alt="enter image description here"></a></p>
  
  <p>Add 3. Upper text's Opacity on the Containing Comp is not just 100%. It actually equals to the Fill Opacity parameter of Blending Options of Layer Styles of upper text in the Nested Comp:
  <a href="https://i.sstatic.net/5bHow.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/5bHow.png" alt="enter image description here"></a></p>
  
  <p>Add 4. The whole issue disappears if a dummy Transform Effect is applied to the Nested Comp. Moreover, not only the Transform Effect may be dummy, you can actually SWITCH OFF all the effects for the Nested Comp but the very existence of that not-applied effect fixes the problem:</p>
  
  <p><a href="https://i.sstatic.net/LgWrm.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/LgWrm.png" alt="enter image description here"></a></p>
  
  <p>Due to the Add 4 I assume, it's a bug. Looking forward for your comments and explanations on how does it happen and further insights on how Collapse Transformation works and Layer Styles place in rendering hierarchy.
  Thanks.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-06T15:08:10.790Z
Comments.Text: CS6 is the most recent version I have, but I'll try this in it later and see if I get similar behavior.  My best guess might be that it has something to do with how nested opacity is being calculated, there are some settings for this but I don't recall exactly where they are.  I've had a similar issue in the past when using comps imported from Photoshop or Illustrator and having odd behavior from nested opacity.  I remember I was able to work them out, but can't remember exactly how.
Comments.UserDisplayName: AJ Henderson
Tags: <after-effects>
Title: Collapse Transformation and Layer Styles (bug)
UserDisplayName: Oleg
ThreadText: # Collapse Transformation and Layer Styles (bug)
  
  (Asked by: username_0 on 2017-12-06)
  
  AE 2017.2 Release. I'll try to be as clear as possible:
  
  1. I create a comp with two text layers:
     [![enter image description here](https://i.sstatic.net/jcGL9.png)](https://i.sstatic.net/jcGL9.png)
  2. I precompose those two text layers and set Nested Comp's Opacity to 30%:
     [![enter image description here](https://i.sstatic.net/me3LH.png)](https://i.sstatic.net/me3LH.png)
  3. In Nested Comp I apply Bevel and Emboss to the upper text (setting Shadow's and Highlight's Opacity to 0%, so B&E is effectively nonexistent):
     [![enter image description here](https://i.sstatic.net/Tr9es.png)](https://i.sstatic.net/Tr9es.png)
  4. In Containing Comp I switch Collapse Transformation On and upper text's **opacity goes to 100%:**
     [![enter image description here](https://i.sstatic.net/okfsS.png)](https://i.sstatic.net/okfsS.png)
     **The end.**
  
  Add 1. It's not like upper text's Opacity is not affected by Nested Comp Opacity parameter. More like it becomes binary. If I set it to any value >0%, upper text will be 100%. If I set it to be 0%, upper text becomes 0%.
  [![enter image description here](https://i.sstatic.net/Y29C5.png)](https://i.sstatic.net/Y29C5.png)
  
  Add 2. In Layer Styles it's not about B&E but rather Blending Options. I may delete B&E and everything remains the same:
  [![enter image description here](https://i.sstatic.net/yOa9s.png)](https://i.sstatic.net/yOa9s.png)
  
  Add 3. Upper text's Opacity on the Containing Comp is not just 100%. It actually equals to the Fill Opacity parameter of Blending Options of Layer Styles of upper text in the Nested Comp:
  [![enter image description here](https://i.sstatic.net/5bHow.png)](https://i.sstatic.net/5bHow.png)
  
  Add 4. The whole issue disappears if a dummy Transform Effect is applied to the Nested Comp. Moreover, not only the Transform Effect may be dummy, you can actually SWITCH OFF all the effects for the Nested Comp but the very existence of that not-applied effect fixes the problem:
  
  [![enter image description here](https://i.sstatic.net/LgWrm.png)](https://i.sstatic.net/LgWrm.png)
  
  Due to the Add 4 I assume, it's a bug. Looking forward for your comments and explanations on how does it happen and further insights on how Collapse Transformation works and Layer Styles place in rendering hierarchy.
  Thanks.
  
  **Tags:** after-effects
  
  > **Comments:**
  > **username_1**: CS6 is the most recent version I have, but I'll try this in it later and see if I get similar behavior.  My best guess might be that it has something to do with how nested opacity is being calculated, there are some settings for this but I don't recall exactly where they are.  I've had a similar issue in the past when using comps imported from Photoshop or Illustrator and having odd behavior from nested opacity.  I remember I was able to work them out, but can't remember exactly how.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-01-01. Score: 1
  
  it's not a bug, it's the nature of collapse transformation switch, and when you've added this dummy effect you simply have disabled the collapse transformation.
  
  
  ---
  
  