Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Manual Generation of MIP Map Level? (Shader Graph = LOD)

Discussion in 'Shader Graph' started by SuperUltraHyper, Dec 1, 2020.

  1. SuperUltraHyper

    SuperUltraHyper

    Joined:
    Sep 7, 2015
    Posts:
    112
    I am trying to manually generate MIPs via Shader Graph.
    However, the code isn't resulting in the same MIP levels for whatever unity is doing under the hood.

    Do you have an idea what is going on / I am missing?

    Additional info: The final shader takes in an atlas (4x4 texture sheet) and outputs a single row / column. Obviously, I'll need to account for the correct MIP level so that the result isn't blurry / overly noisy.


    Thanks for any help you can provide.
    Broken MIP.jpg