Undertaker
04-29-2005, 12:18 AM
Two shaders - one only uses a texture and it`s normal map for lighting calculations ( point lights) and the other uses the same 2 textures + an extra texture( doesn`t matter what texture...let`s say cube map )
Well the second shader goes faster with about 70 fps ( from 100 to 170 ) ... I don`t even use the third texture, I only sample it....
The 2 shaders are EXACTLY the same, only the second one has an extra
TEX tex, fragment.texcoord[2], texture[2], 2D;(or3D , same result)
But it goes almost twice as fast !!
What`s wrong ??
Well the second shader goes faster with about 70 fps ( from 100 to 170 ) ... I don`t even use the third texture, I only sample it....
The 2 shaders are EXACTLY the same, only the second one has an extra
TEX tex, fragment.texcoord[2], texture[2], 2D;(or3D , same result)
But it goes almost twice as fast !!
What`s wrong ??