Added source for constants and includes. ( local to render ) provides string lookup and parsing for pooled constants. CShaderIncludes implements ID3DXInclude and makes a more reliable include directive for effects. in shaders when < > is used with includes the root shader directory is used. and regular " " includes are local to the directory of the shader/effect.
Implemented previous functions mentioned in my last post local to module.
CMaterial now uses the MatrixFrame struct to assign matrices. Changed Files:
[li]trunk/Source/render/CMaterial.cpp [/li][li]trunk/Source/render/CMaterial.h [/li][li]trunk/Source/render/CRenderTexture.cpp [/li][li]trunk/Source/render/CShader.cpp [/li][li]trunk/Source/render/CShader.h [/li][li]trunk/Source/render/render.cpp [/li][li]trunk/Source/render/render.h [/li][li]trunk/Source/render/render.vcproj[/li][/ul]
[li]trunk/Source/render/CShaderConstant.cpp [/li][li]trunk/Source/render/CShaderConstant.h [/li][li]trunk/Source/render/CShaderIncludes.cpp [/li][li]trunk/Source/render/CShaderIncludes.h[/li][/ul]
Committed By Pat Glynn