Difference between revisions of "Talk:Adding Motion Blur"

From Valve Developer Community
Jump to: navigation, search
Line 1: Line 1:
not working...
+
'''view_scene.cpp
e:\Games\ROD\src\cl_dll\rendertexture.cpp(16) : error C2146: syntax error : missing ';' before identifier 's_pMoBlurTex0'
+
\cl_dll\view_scene.cpp(1934) : error C2664: 'IMaterialVar::SetTextureValue' : cannot convert parameter 1 from 'IMaterial *' to 'ITexture *'
e:\Games\ROD\src\cl_dll\rendertexture.cpp(16) : error C2501: 's_pMoBlurTex0' : missing storage-class or type specifiers
+
         Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
e:\Games\ROD\src\cl_dll\rendertexture.cpp(22) : error C2228: left of '.InitRenderTarget' must have class/struct/union type
+
\cl_dll\view_scene.cpp(1939) : error C2065: 'pMatMBlur' : undeclared identifier''' :(
        type is 'int'
 
e:\Games\ROD\src\cl_dll\rendertexture.cpp(23) : error C2664: 'IsErrorTexture' : cannot convert parameter 1 from 'int' to 'ITexture *'
 
         Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
 
e:\Games\ROD\src\cl_dll\rendertexture.cpp(26) : error C2440: 'return' : cannot convert from 'int' to 'ITexture *'
 
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
 
 
 
You need to include a header.. search for CTextureReference to see where it's defined.
 

Revision as of 21:33, 14 August 2005

view_scene.cpp \cl_dll\view_scene.cpp(1934) : error C2664: 'IMaterialVar::SetTextureValue' : cannot convert parameter 1 from 'IMaterial *' to 'ITexture *'

       Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

\cl_dll\view_scene.cpp(1939) : error C2065: 'pMatMBlur' : undeclared identifier :(