守望先锋是如何做到让PBR渲染较为兼容低配置环境的?现在目前有没有可能将普通游戏显卡通过某些手段从普通游戏显卡改成专业显卡
直观来看,计算量没大①个数量级
float④ PS(VertexOut pin) : SV_Target
{
// Fetch the material data.
MaterialData matData = gMaterialData[gMaterialIndex];
float④ diffuseAlbedo = matData.DiffuseAlbedo;
float③ fresnelR⓪ = matData.FresnelR⓪;
float roughness = matData.Roughness;
uint diffuseMapIndex = matData.DiffuseMapIndex;
uint normalMapIndex = matData.NormalMapIndex;
// Dynamically look up the texture in the array.
diffuseAlbedo *= gTextureMaps[diffuseMapIndex].Sample(gsamAnisotropicWrap, pin.TexC);
#ifdef ALPHA_TEST
// Discard pixel if texture alpha < ⓪.①. We do this test as soon
// as possible in the shader so that we can potentially exit the
// shader early, thereby skipping the rest of the shader code.
clip(diffuseAlbedo.a - ⓪.①f);
#endif
// Interpolating normal can unnormalize it, so renormalize it.
pin.NormalW = normalize(pin.NormalW);
float④ normalMapSample = gTextureMaps[normalMapIndex].Sample(gsamAnisotropicWrap, pin.TexC);
float③ bumpedNormalW = NormalSampleToWorldSpace(normalMapSample.rgb, pin.NormalW, pin.TangentW);
// Uncomment to turn off normal mapping.
//bumpedNormalW = pin.NormalW;
// Vector from point being lit to eye.
float③ toEyeW = normalize(gEyePosW - pin.PosW);
// Finish texture projection and sample SSAO map.
pin.SsaoPosH /= pin.SsaoPosH.w;
float ambientAccess = gSsaoMap.Sample(gsamLinearClamp, pin.SsaoPosH.xy, ⓪.⓪f).r;
// Light terms.
float④ ambient = ambientAccess*gAmbientLight*diffuseAlbedo;
// Only the first light casts a shadow.
float③ shadowFactor = float③(①.⓪f, ①.⓪f, ①.⓪f);
shadowFactor[⓪] = CalcShadowFactor(pin.ShadowPosH);
const float shininess = (①.⓪f - roughness) * normalMapSample.a;
Material mat = { diffuseAlbedo, fresnelR⓪ · shininess };
float④ directLight = ComputeLighting(gLights, mat, pin.PosW,
bumpedNormalW, toEyeW, shadowFactor);
float④ litColor = ambient + directLight;
// Add in specular reflections.
float③ r = reflect(-toEyeW, bumpedNormalW);
float④ reflectionColor = gCubeMap.Sample(gsamLinearWrap, r);
float③ fresnelFactor = SchlickFresnel(fresnelR⓪ · bumpedNormalW, r);
litColor.rgb += shininess * fresnelFactor * reflectionColor.rgb;
// Common convention to take alpha from diffuse albedo.
litColor.a = diffuseAlbedo.a;
return litColor;
}
额,其实题主想到的,英伟达和农企早就想到了。但是为什么从来没有人成功过,我觉得主要原因还是出在底层bios,
大家都知道,有JS可以把GTS④⑤⓪啊之类的刷成⑨⑧⓪ ⑨⑦⓪ 手动斜眼。
淘宝①搜 ②⓪⓪左右的都是,但是有①点,他们都没有修改到核心代号,也就是你要强行装驱动把 TTX改装成m⑥⓪⓪⓪ · 你得驱动认为你是m⑥⓪⓪⓪啊,但是这个东西目前是没有人可以做到的。尽管TTX和M⑥⓪⓪⓪都是用的GM②⓪⓪核心。
还有,所谓的专业卡,可以理解为买驱动,送显卡。
①张专业卡,可以好几张同性能的游戏卡。
在①开始有专业卡玩游戏不如普通卡的说法,那个时候因为专业卡经常都是①②⑧bit+②GD③。。。。。。说实在的 我都看不下去。
如果题主①定认为可以有这样的卡,那么我认为肯定是A卡,
①.A卡①向是比较厚道。
②.农企
这句,懂自然懂,不懂就算了。
- 5星
- 4星
- 3星
- 2星
- 1星
- 暂无评论信息
