Giter Site home page Giter Site logo

Comments (4)

afauch avatar afauch commented on August 11, 2024

A couple of things I'm noticing @rckmnt

  • The key thing contributing to this 'glow-y' effect seems to be the fact that the different faces of the cube are not shaded according to light. In the GIF this lack of shading appears to be true on all of the red material instances after transition, though the camera perspective makes it hard to be 100% sure.
  • I'm noticing that the yellow cube in particular doesn't seem to be shaded by side prior to transition. This makes me wonder whether there are some lighting settings at play here.
  • I'm noting that the object is still casting shadows, which means it's probably still interacting with light buffers in some way.
  • The only difference in materials I could see between your example and my example below is that you don't have Specular Highlights or Reflections checked on your Forward Rendering Options. I'm curious whether checking those would have any effect.

My attempt to repro (no glow-y issue)
ezgif-3-03ecd4270a
Before
screen shot 2018-04-11 at 9 29 48 pm
After
screen shot 2018-04-11 at 9 30 08 pm

Some shots in the dark:

Hypothesis 1
This has to do with your project-level lighting / quality settings (Edit > Project Settings > Quality). Maybe shading the "Fade" render mode isn't being respected by the quality settings under your current build target platform.

Hypothesis 2
This issue has to do with Forward/Deferred Rendering, and the differences are caused when a material is swapped from "Opaque" to "Fade" rendering mode without Forward Rendering turned on. I don't know much about this - just started reading about it here. What you're seeing seems similar to what happens when Color Buffer is active without including Depth Buffer and Normal Buffer.
buffers

from crayon-dev.

afauch avatar afauch commented on August 11, 2024

Haven't read this but may also be relevant:
http://polycount.com/discussion/158129/unity-5-standard-shader-transparent-issue-see-2min-vid

from crayon-dev.

afauch avatar afauch commented on August 11, 2024

Related, but not a solution: Unity docs on Transparent vs Fade render modes
https://docs.unity3d.com/Manual/StandardShaderMaterialParameterRenderingMode.html

from crayon-dev.

afauch avatar afauch commented on August 11, 2024

Logging my attempts to repro:

  • Turning off Specular Highlights and Reflections did not repro.
  • Changing Smoothness=0 did not repro.
  • Removing Skybox did not repro.
  • Changing Quality Settings to Very Low did not repro.

Hypothesis 1 disproved.

from crayon-dev.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.