ParaToxic Posted October 2, 2011 Share Posted October 2, 2011 File Name: Sphere mapping - reflect Shader File Submitter: ParaToxic File Submitted: 02 Oct 2011 File Category: Shaders Hey,here is a little shader for Sphere mapping (looks like reflection).The reflection is static.Copy the shader.vert file to Shader/Mesh folder.You have to put in the material file the diffuse texture in texture0 and the sphere/reflection map to texture 1.In shader.frag you can andjust the mixture factor,which is default on 0.4.With Directional Light it looks not so well,maybe somebody can tell me why. Here is a picture in action : Click here to download this file 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.