[Haskell-cafe] SOC idea ticket: Rendering Engine

Csaba Hruska csaba.hruska at gmail.com
Tue Mar 24 11:54:51 EDT 2009


Does your video card support shaders?
If it's an old card with fixed function opengl, then edit
/media/materials/scripts/Robot.material file.
Disable shaders:
{
        //source ambient.vert
        //source diffuse.vert
        source toonf2.vert
}

fragment_program Examples/AmbientShadingFP  glsl
{
        //source ambient.frag
        //source diffuse.frag
        source toonf2.frag
}

material Examples/Robot
{

        // Software blending technique
        technique
        {
                pass
                {

                       // vertex_program_ref Examples/AmbientShadingVP
                       // {
                       //         // map shininess from custom renderable
param 1
                       //         //param_named_auto shininess custom 1
                       // }

                        //fragment_program_ref Examples/AmbientShadingFP
                        //{
                        //        // map shininess from custom renderable
param 1
                        //        //param_named_auto shininess custom 1
                       // }

                        texture_unit
                        {
                                texture r2skin.jpg
                        }
                }
        }
}



2009/3/24 Roman Cheplyaka <roma at ro-che.info>

> Oh, I managed to enjoy ogre by disabling other entities.
>
> --
> Roman I. Cheplyaka :: http://ro-che.info/
> "Don't let school get in the way of your education." - Mark Twain
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090324/f8d9d3b7/attachment.htm


More information about the Haskell-Cafe mailing list