fixing template bugs
This commit is contained in:
parent
144acdd633
commit
73fc81572e
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
<Model>
|
<Model>
|
||||||
<SamplerMap>
|
<SamplerMap>
|
||||||
<Sampler name="Texture" value="bt_box_yellow_.bmp"/>
|
<Sampler name="Texture" value="bt_box_yellow.jpg"/>
|
||||||
</SamplerMap>
|
</SamplerMap>
|
||||||
<Vec3ArrMap>
|
<Vec3ArrMap>
|
||||||
<Vec3Arr name="vPosition">
|
<Vec3Arr name="vPosition">
|
||||||
|
@ -54,7 +54,7 @@ void TMyApplication::InnerInit()
|
|||||||
ResourceManager->LightManager.SetLightDirection(vec3(-1,0,-1));
|
ResourceManager->LightManager.SetLightDirection(vec3(-1,0,-1));
|
||||||
ResourceManager->LightManager.SetLightColor(vec4(1,0,0,1));
|
ResourceManager->LightManager.SetLightColor(vec4(1,0,0,1));
|
||||||
|
|
||||||
ResourceManager->TexList.AddTexture("bt_box_yellow.bmp");
|
ResourceManager->TexList.AddTexture("bt_box_yellow.jpg");
|
||||||
ResourceManager->FlexModelManager.LoadModelFromXml("model.xml");
|
ResourceManager->FlexModelManager.LoadModelFromXml("model.xml");
|
||||||
|
|
||||||
FlexModel = ResourceManager->FlexModelManager.InstanciateModel("model.xml");
|
FlexModel = ResourceManager->FlexModelManager.InstanciateModel("model.xml");
|
||||||
|
Loading…
Reference in New Issue
Block a user