如何在《地平线:西部禁域》中降低纹理密度BCn压缩技巧.pdf

编号:1099622 PDF 40页 4.65MB 下载积分:VIP专享
下载报告请您先登录!

如何在《地平线:西部禁域》中降低纹理密度BCn压缩技巧.pdf

1、How to Decimate your texturesBCn compression tricks in Horizon Forbidden Westhugh.malanguerrilla- Nubis picture ApproximateIdealPicture of long distance shadows16bpp input =4bpp BC1 outputRequirementsBC1 overviewGPU samplingRGB to scalarEncoderResultsGPU sampling of endpoint colorsr2 g4 b25-6-5 endp

2、oint colorExpanded to 8-8-8GPU sampling of interpolated colors on AMDif(interpolation_mode=FourInterpolatedColors)outColors0=color_0;/color_0 and color_1 are RGB888outColors1=color_1;outColors2=(color_0*43)+(color_1*21)+IVec3(32,32,32)/64;outColors3=(color_0*21)+(color_1*43)+IVec3(32,32,32)/64;else/

3、ThreeInterpolatedColorsAndTransparentBlack RGB to scalar requirementsfloat sampled_value=dot(EncodedBC1Texture.Sample(uv).rgb,unpack_constant.xyz);RGB to scalar dotproduct constantfloat sampled_value=dot(EncodedBC1Texture.Sample(uv).rgb,float3(0.96414679,0.03518212,0.00067109)/0.002%max error);Encod

4、er-4x4 input valuesInputsEncoder-possible endpoint colors and unpacked valuesInputsEndpointsEncoder-Low endpoint colorInputsEndpointsEncoder-Possible high endpointInputsEndpointsEncoder-Possible high endpoint and interpolated colorsInputsEndpointsEncoder-Encoded value for each inputInputsEndpoints4b

5、pp BC116bppReduced cloud rendering time by 30%Reduced cloud rendering time by 30%Replace with an image showing green hq heightfield and yellow BC1 heightfield.4bpp BC116bppReduced texture size from 3.1MB to 0.78MBReduced texture size from 3.1MB to 0.78MBhttps:/ level of precision is unlikely to ever

6、 matter to anyone.”Fabian“ryg”GiesenQuestions?“GPU BCn decoding”,Fabien Giesen(2021)https:/ DXT Decompression”,Ignacio Castao(2009)https:/ definition(2008)https:/registry.khronos.org/OpenGL/extensions/EXT/EXT_texture_compression_dxt1.txtReferencesBONUS SLIDES/*16 bit scalar to BC1 encoder.The main e

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(如何在《地平线:西部禁域》中降低纹理密度BCn压缩技巧.pdf)为本站 (柒柒) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠