Page 1 of 1

[2.1] Manual Typo

Posted: Wed Oct 11, 2017 7:12 pm
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