zoukankan      html  css  js  c++  java
  • selfshadow

    realtime rendering v3 page 351

    Moire pattern

    sruface acne

    artifacts

    -----------------------

    用 setstate

    dx

    depthslopescalebias

    depthbias

    gl

    setPolygonOffset(depthslopescalebias,depthbias,clamp)

    depthslopescalebias 

    depthbias经验值,。。。。。wip

    /// The offset is computed by multiplying the maximum depth slope of
    /// the primitive [sqrt((dz/dx)^2 + (dz/dy)^2)] by _factor_, adding in
    /// the minimum resolvable difference in depth values multiplied by
    /// _units_, and clamping the result as described in the documentation
    /// for _clamp_.

    /// param factor Value multiplied by the maximum depth slope when
    /// computing offset.
    ///
    /// param units Value multiplied by the minimum resolvable depth
    /// difference when computing offset.
    ///
    /// param clamp Value used to clamp the computed offset.
    /// If `clamp` is positive, the computed depth offset will be clamped
    /// to a value less than or equal to `clamp`. If `clamp` is negative,
    /// the computed depth offset will be clamped to a value greater than
    /// or equal to `clamp`. If `clamp` is zero, the computed depth offset
    /// will not be clamped.

    void SetPolygonOffsetClamp(float factor,
    float units,
    float clamp);

  • 相关阅读:
    [LuoguP2161] 会场预约
    [LuoguP1198] 最大数
    [LuoguP1484] 种树
    [LuoguP1801] 黑匣子
    [LuoguP1196]银河英雄传说
    [LuoguP1345] 奶牛的电信Telecowmunication
    [LuoguP1119]灾后重建
    【笔记】一元函数微分学
    【复习】Listening and Reading Comprehension
    【笔记】一元函数的不定积分
  • 原文地址:https://www.cnblogs.com/minggoddess/p/6678712.html
Copyright © 2011-2022 走看看