修正箇所

AbsoluteShadowShaderSystem.fxの

55行目
    Out = tex2Dlod(ShadowMapSampler, float4(texc, 0, mip)) * 2;
	↓
    Out = tex2Dlod(ShadowMapSampler, float4(texc, 0, mip)).rg * 2;

57~64行まで
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(0, step), 0, mip));
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(0, -step), 0, mip));
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(step, 0), 0, mip));
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(-step, 0), 0, mip));
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(step, step), 0, mip));
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(-step, step), 0, mip));
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(step, -step), 0, mip));
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(-step, -step), 0, mip));
	↓
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(0, step), 0, mip)).rg;
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(0, -step), 0, mip)).rg;
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(step, 0), 0, mip)).rg;
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(-step, 0), 0, mip)).rg;
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(step, step), 0, mip)).rg;
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(-step, step), 0, mip)).rg;
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(step, -step), 0, mip)).rg;
    Out += tex2Dlod(ShadowMapSampler, float4(texc + float2(-step, -step), 0, mip)).rg;

という感じに.rgを追加
Outが2つ(赤と緑)しかキャパないのにrgbaの4つをねじりこもうとしてました


そぼろさんのオリジナルAbsoluteShadowのフォルダに上書きすればいけると思いますが
バージョン違いとかあるかもなんで怖ければ上記の修正を自分でやってください



应版权方要求,不再更新模型
本站【模型区】一直都是免费,大家可任意下载,但是以后不会继续更新了。
资源失效处理
1、如果是蓝奏云,将下载链接中的lanzous换成lanzoux即可
2、如果是百度云失效了,那请点右侧发邮件给客服,或者在评论区指出,也可在菜单栏【有问必答】说明
3、如果是其他原因,请右侧按钮发邮件给我

发表评论