LudoArt

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: 关于作业2的讨论 #11423 Score: 0
    LudoArt
    Participant

    可以找找color_grading.cpp里那几个函数的调用位置,比如PColorGradingPass::draw()就在PMainCameraPass::draw()里调用的
    tone_mapping_pass.draw();
    m_p_vulkan_context->_vkCmdNextSubpass(m_command_info._current_command_buffer, VK_SUBPASS_CONTENTS_INLINE);
    color_grading_pass.draw();
    应该就是在这里调用绘制的

    in reply to: 关于作业2的讨论 #11418 Score: 0
    LudoArt
    Participant

    我看了一下,确实有个地方没写对,但还是有点发黄的感觉
    从tone_mapping传过来的in_color是SRGB空间的,LUT采样出来的color是Linear空间下的,不知道我有没有理解错QAQ

    • This reply was modified 2 years, 6 months ago by LudoArt.
    in reply to: 关于作业2的讨论 #11411 Score: 0
    LudoArt
    Participant

    是这样的,我也一样,但我这还遇到一个情况,总感觉SRGB和Linear没处理好,有一点点色差

    • This reply was modified 2 years, 6 months ago by LudoArt.
    Attachments:
    You must be logged in to view attached files.
    in reply to: 关于作业2的讨论 #11403 Score: 0
    LudoArt
    Participant

    我这也是变化很大的样子,总感觉最后结果应该会是一个变化不会特别大,比较好看的一个颜色,总感觉自己哪里写错了

Viewing 4 posts - 1 through 4 (of 4 total)