| Poster ||: jdnd|
| Posts||: 21|
| Country ||: UK|
| City||: Holywell|
|Posted by jdnd on 27/08/2007 at 17:23:48|
|I have modified the Skybox.x file to add the effect references so they do not need to be set in the code.|
The skybox.x file will load the effects.fx file from the directory below (../) the skybox.x file
The file can be loaded with just one line: skybox = content.Load<Model>("Content/Skybox/skybox");
And can be drawn without having to set the xTexture parameterís in the draw method
Please see this Link:
Hope this helps;
The link is to my home computer.
If they fail then sorry please try later it is very rarely off.