Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

post processing, color grading in shaders

Discussion in 'Shaders' started by mlab2, May 23, 2022.

  1. mlab2

    mlab2

    Joined:
    May 21, 2022
    Posts:
    4
    I'm using Unity's built-in render pipeline in a research application. The color grading effect in the post-processing stack could be a really useful tool for me, but I need to know exactly how it adjusts color. I understand it in broad outline, but I need to know the specific calculations that it does. So my question is: can someone point me to the code that implements color grading in the BRP? I'm particularly interested in how the Lookup Texture (LUT) feature works.

    I spent some time looking at the Graphics github repo before realizing that that code is for the SRP. Other than that, it was exactly what I was looking for. Is corresponding code available for reference for the BRP?

    Thanks!
     
    Last edited: May 23, 2022