Code Monkey home page Code Monkey logo

Comments (5)

Fabrazz avatar Fabrazz commented on June 6, 2024

Update, this happens when meshes are combined during play from being set to static. Any solution to this?
image

from unitychantoonshaderver2_project.

Nobuyuki-Kobayashi avatar Nobuyuki-Kobayashi commented on June 6, 2024

As far as I can judge from the screenshot, I assume you are using UTS2 for background objects in your scene.
UTS2 is a character-specific toon shader, so there must be one real-time directional light in the scene for look design.
If you are using UTS2 for background objects and there is no available directional light in the scene, I strongly recommend using a PBR shader such as Standard Shader.

from unitychantoonshaderver2_project.

H3idi-X avatar H3idi-X commented on June 6, 2024

Hi, it looks like the light falls on flat objects. If this assumption is right, I believe this should be hard to solve, as UTS clip a light at a certain level.
For flat objects, every single normal on the meshes are completely the same. It brings about sudden change of shading when we move lights, objects or cameras.

from unitychantoonshaderver2_project.

Nobuyuki-Kobayashi avatar Nobuyuki-Kobayashi commented on June 6, 2024

For toon shaders, including UTS2, that use lights to generate paint divisions, the following methods are generally used if you want to moderate the change in the way the lights hit the planes.

  1. Instead of dividing the plane into a minimal number of divisions, add several divisions to increase the number of vertices on the plane.
  2. Transfer the vertex normals of the sphere or other part of the surface to those vertex normals using the DCC tool.

By doing 1 and 2, you can smooth the light hitting each vertex and thus avoid sudden changes in the painting.
The UTS2 normal map lighting sample does the same thing, so I recommend checking the geometry there.

https://github.com/unity3d-jp/UnityChanToonShaderVer2_Project/blob/release/legacy/2.0/Manual/UTS2_Manual_en.md#normalmap-settings-submenu

Check a ※Hint section above.

Any further usage is beyond the scope of our support, so please investigate on your own.

from unitychantoonshaderver2_project.

H3idi-X avatar H3idi-X commented on June 6, 2024

Hi, If we do not receive additional information, we will close this issue in a few days. We have set up a template for bug reports, so please fill it the next time you wish to submit a bug report.

from unitychantoonshaderver2_project.

Related Issues (20)

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.