source-pbr
source-pbr copied to clipboard
Source Engine Physically Based Rendering implementation
When shining a light (flashlight typically), on any model that uses $alphatest; causes the model to not take light properly-even without the flashlight. Below are two images; one with the...
👋 PBR has a problem with normals going pretty dark at obtuse angles and we fixed it recently, wanted to backport it for you guys since this repo was the...
Fixed: - `$color2` not working outside lightmapped pass (in theory `$color` should work too but i haven't seen that even in VLG materials) Added: - `$emissiontint` - adjusts emission texture...
From what I see the speculars from a projected texture draw correctly, but the diffuse is all broken, it's drawn at the lowest point of the parallax depth, with no...
I've had this bug for a while, completely unsure as to what it could be. Whenever a projectedtexture is cast from a relatively far distance onto a model, it seems...
It doesn't have some methods like: " SetModulationPixelShaderDynamicState_LinearColorSpace" "pShaderAPI->SetPixelShaderStateAmbientLightCube" ...
 Lightmaps doesn't work when I bake something using the PBR
 When generating a cubemap, it doesn't blur with the roughness.is there a way to fix this?
pbr_ps20b 3 ERROR(S): error X4018: Shader uses texture addressing operations in a dependency chain that is too complex for the target shader model (ps_2_b) to handle. Reported 3360 time(s), example...