20,741
edits
Line 239: | Line 239: | ||
|script_version = 0.40 | |script_version = 0.40 | ||
}}</ref> | }}</ref> | ||
the code that creates the texture is in scene/util/StateAttributeFactory.cxx, but you would have to do something similar to the noise texture code in TextureBuilder to access your texture from a texture. It would be nice if the Effects framework had a way to load arbitrary textures and make them available to effects.<ref>{{cite web | |||
|url = https://sourceforge.net/p/flightgear/mailman/message/29587121/ | |||
|title = <nowiki> Re: [Flightgear-devel] Functions to textures? </nowiki> | |||
|author = <nowiki> Tim Moore </nowiki> | |||
|date = Jul 25th, 2012 | |||
|added = Jul 25th, 2012 | |||
|script_version = 0.40 | |||
}}</ref> | |||