Now the code can change the distance based on fLenzDistance (optionally, based on iLenzUseCustomDistance) and also can render less halos based on iLenzFactors, instead of only 19. Lenstemp1 = max(0,lenstemp1.xyz - fLenzThreshold) If(templensdepth < 0.99999) lenstemp1 = 0 Lfcoord.xy*=pow(2.0*length(float2(distfact.x,distfact.y)), lfoffset.y*3.5) įloat templensmult = clamp(1.0-dot(tempfact,tempfact),0,1) įloat3 lenstemp1 = dot(tex2Dlod(GFX_SamplerHDR1, float4(lfcoord.xy,0,1)).xyz,0.333) įloat templensdepth = tex2D(RFX_depthColor, lfcoord.xy).x
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |