ParaToxic Posted February 24, 2013 Share Posted February 24, 2013 Hey I would like to ask you where I can find the shader code for example changing the light model ( I think it's phong now ) ? I can't find it in the mesh.frag shader, but I saw in the Lighting folder for example in the DirectionalLight.frag file , that there are some modifications, which looks like that what I'm searching for.But now the question is, which vertexshader do that lighting-pixelshaders use ? I need to add the Tangent and Binormal variables to create a anisotropic material. EDIT: I forget, it's a deffered renderer So is it possible to get the tangent in the lighting shader ? Caus' I need the normal ( is available ) and the tangent -> compute the binormal. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.