Hi,
i am creating a post process material and i want to extract the lightning, but when i divide PostProcessInput0 and Diffuse Color, i get dark areas at those pixes where the specular value is high.
I found a pixel shader and recreated it within the pp material but this one didnt come close to the unreal rendering.
Does anyone know a good pixel shader source or which file of the ue4 engine do i have to look in.
Thanks in advance