Skybox and mixing textures
Blitz3D Forums/Blitz3D Beginners Area/Skybox and mixing textures
| ||
I am new to Blitz3D, normally I use PureBasic but I found graphics coding a bit hard, and have a couple of questions first of all, how to make a skybox in Blitz? Secondly, how can I apply more than 1 texture to an entity? cheers |
| ||
A skybox example function is in your Blitz installation: Blitz3D\samples\AGore\GrassDemo Apply more than one texture: cube=Createcube() tex1=Loadtexture("tex1.bmp") tex2=Loadtexture("tex2.bmp") EntityTexture cube,tex1,0,0 EntityTexture cube,tex2,0,1 The last number sets the texture layer (up to 8, 0...7) The example folder is really good so take a look at it first. |
| ||
Thanks |
| ||
Just don't try using more than one texture on an entity if one of the textures is loaded with the alpha-blending flag. Bad things, mang. Bad things. |
| ||
ah...I dont even know what that means! just my 3rd day into this...I am too old for this! |