Mark portals in scene alpha channel for the SSAO pass
This commit is contained in:
parent
c7c0ffadb5
commit
e025f6e54b
6 changed files with 18 additions and 7 deletions
|
|
@ -60,6 +60,7 @@ void FLinearDepthShader::Bind(bool multisample)
|
|||
shader.Link("shaders/glsl/lineardepth");
|
||||
shader.SetAttribLocation(0, "PositionInProjection");
|
||||
DepthTexture[multisample].Init(shader, "DepthTexture");
|
||||
ColorTexture[multisample].Init(shader, "ColorTexture");
|
||||
SampleCount[multisample].Init(shader, "SampleCount");
|
||||
LinearizeDepthA[multisample].Init(shader, "LinearizeDepthA");
|
||||
LinearizeDepthB[multisample].Init(shader, "LinearizeDepthB");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue