[2.1] Manual Typo

Minor issues with the Ogre API that can be trivial to fix
Post Reply
User avatar
AshMcConnell
Silver Sponsor
Silver Sponsor
Posts: 605
Joined: Fri Dec 14, 2007 11:44 am
Location: Northern Ireland
x 16
Contact:

[2.1] Manual Typo

Post by AshMcConnell »

In the compositor section I believe there is a typo in the local textures section.

It looks like: -

Code: Select all

compositor_node MyNode
{
    texture rt0 800 600 PF_R8G8B8
    target Input_as_MyLocaName
    {
        //Clear to violet
        pass clear
        {
            colour_value 1 0 1 1
        }
    }
    out 0 rt0
}
But the target should refer to rt0 rather than Input_as_MyLocalName

Code: Select all

compositor_node MyNode
{
    texture rt0 800 600 PF_R8G8B8
    target rt0
    {
        //Clear to violet
        pass clear
        {
            colour_value 1 0 1 1
        }
    }
    out 0 rt0
}
Thanks!
Ash
Post Reply