![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SMAA
頖╃縌 ①oO%
这个作者很懒,什么都没留下…
展开
-
SMAA算法详解
SMAA算法详解原创 2020-05-29 13:01:59 · 1489 阅读 · 0 评论 -
SMAA算法详解 - SMAAEdgeDetectionVS
void SMAAEdgeDetectionVS(float2 texcoord, out float4 offset[3])原创 2020-07-12 02:50:38 · 353 阅读 · 0 评论 -
SMAA算法详解 - SMAALumaEdgeDetectionPS
SMAALuamaEdgeDetectionPS原创 2020-07-12 03:02:51 · 700 阅读 · 0 评论 -
SMAA算法详解 - SMAAColorEdgeDetectionPS
SMAAColorEdgeDetectionPS原创 2020-07-12 11:18:16 · 181 阅读 · 0 评论 -
SMAA算法详解 - SMAADepthEdgeDetectionPS
SMAADepthEdgeDetectionPS原创 2020-07-12 11:23:18 · 214 阅读 · 0 评论 -
SMAA算法详解 - SMAABlendingWeightCalculationVS
SMAA代码详解 - SMAABlendingWeightCalculationVS原创 2020-07-12 11:29:18 · 397 阅读 · 0 评论 -
SMAA算法详解 - SMAABlendingWeightCalculationPS
SMAABlendingWeightCalculationPS原创 2020-07-12 11:38:09 · 543 阅读 · 0 评论 -
SMAA算法详解 - SMAADecodeDiagBilinearAccess
SMAADecodeDiagBilinearAccessSMAADecodeDiagBilinearAccess(float2 e)/** * Allows to decode two binary values from a bilinear-filtered access. */float2 SMAADecodeDiagBilinearAccess(float2 e) { // Bilinear access for fetching 'e' have a 0.25 offset, a原创 2020-07-12 11:43:45 · 295 阅读 · 0 评论 -
SMAA算法详解 - SMAACalculateDiagWeights
SMAACalculateDiagWeights/** * This searches for diagonal patterns and returns the corresponding weights. */float2 SMAACalculateDiagWeights(SMAATexture2D(edgesTex), SMAATexture2D(areaTex), float2 texcoord, float2 e, float4 subsampleIndices) { float原创 2020-07-12 11:48:38 · 382 阅读 · 0 评论 -
SMAA算法详解 - SMAASearchXLeft(Right)
SMAASearchXLeft(Right)原创 2020-07-12 11:59:03 · 527 阅读 · 0 评论 -
SMAA算法详解 - SMAASearchYUp(Down)
SMAASearchYUp(Down)SMAASearchYUp与 SMAASearchXLeft大致相同。不同点:在Y方向上偏移2。SearchTex采样时,e.rg 改为 e.gr。SearchTex中没有存放Y方向搜索的值,因此把rg变为gr,即把(x,y)变为 (y,x),纵向搜索就变成了横向搜索。SMAASearchYDown略…...原创 2020-07-12 12:01:50 · 555 阅读 · 0 评论 -
SMAA算法详解 - SMAADetectHorizontalCornerPattern
SMAADetectHorizontalCornerPattern修正水平转角//-----------------------------------------------------------------------------// Corner Detection Functionsvoid SMAADetectHorizontalCornerPattern(SMAATexture2D(edgesTex), inout float2 weights, float4 texcoord, f原创 2020-07-12 12:05:21 · 273 阅读 · 0 评论 -
SMAA算法详解 - SMAADetectVerticalCornerPattern
SMAADetectVerticalCornerPatternvoid SMAADetectVerticalCornerPattern(SMAATexture2D(edgesTex), inout float2 weights, float4 texcoord, float2 d) {修正垂直转角锯齿:转角:对比两图的左半部分:上:texcoord.xy + (-2, 0) 存在上边界时是转角下:texcoord.zw + (-2,1) 存在上边界时是转角对比两图的右半部分:上:tex原创 2020-07-12 12:07:36 · 195 阅读 · 0 评论 -
SMAA算法详解 - AreaTex
AreaTex以下均在无SubPixel的情况下,即offset = (0,0)。subpixel将单独讲解。areaortho.area# Calculates the area under the line p1->p2, for the pixel x..x+1: def area(p1, p2, x):计算底边长 d = p2[0] - p1[0], p2[1] - p1[1] x1 = float(x) x2 = x + 1.0原创 2020-07-13 21:27:43 · 802 阅读 · 0 评论 -
SMAA算法详解 - SearchTex
SearchTex原创 2020-07-13 21:28:12 · 761 阅读 · 0 评论 -
SMAA算法详解 - SMAANeighborhoodBlendingPS
SMAANeighborhoodBlendingPS原创 2020-07-13 21:28:25 · 407 阅读 · 0 评论 -
SMAA算法详解 - SMAANeighborhoodBlendingVS
SMAANeighborhoodBlendingVS原创 2020-07-13 21:28:52 · 240 阅读 · 0 评论