private void prepareTexturedModel(TexturedModel model)
        {
            RawModel rawModel = model.rawModel;

            Gl.BindVertexArray(rawModel.vaoID);
            Gl.EnableVertexAttribArray(0);
            Gl.EnableVertexAttribArray(1);
            Gl.EnableVertexAttribArray(2);
            ModelTexture texture = model.modelTexture;

            if (texture.isHasTransparency)
            {
                MasterRenderer.disableCulling();
            }
            shader.loadFakeLighting(texture.isUseFakeLighting);
            shader.loadVariables(texture.shineDamper, texture.reflectivity);
            Gl.ActiveTexture(TextureUnit.Texture0);                                // activate texture
            Gl.BindTexture(TextureTarget.Texture2d, model.modelTexture.textureId); // pass coords
        }