Quote:
@Kartoffel: I'll compile a list with all possible hooks. I'll also implement a way to change the input and outputs of the vertexshader and pixelshader as i think you'll need the viewDir which currently isn't generated anywhere laugh
About the depth: It's rendered in the object shader, as well as the normals, emissive...well everthing which will be put in the gBuffer. There is no second view used to generate the gBuffer.
Good to know.

Yes, for relief-mapping I need ViewDir and the 3x3 Tangent mat (should be already avaiable because normalmapping needs this).
I think I'll use the alpha channel of the diffuse texture as heightmap since alpha doesn't work with deferred lighting.

oh and, anything new about the implementation of my hdr-mod? tongue


POTATO-MAN saves the day! - Random