little help with background needed - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +---- Forum: Screensavers and visualisations (https://forum.kodi.tv/forumdisplay.php?fid=38) +---- Thread: little help with background needed (/showthread.php?tid=142612) |
little help with background needed - vanMiez - 2012-10-12 i know that it isn't liked to ask dumb questions about coding c, if oneself has no clue about coding c (or in that case angelscript), but if someone has mercy on me: how would i add a simple plain white background to this visualisation preset for vortex? Code: // SimpleSpectum.vtx RE: little help with background needed - MrC - 2012-10-13 Just add: gfxClear(1,1,1); before you draw anything and it will clear the whole render target to the specified colour. The 3 parameters are the R, G, B of the colour you want to clear to. RE: little help with background needed - vanMiez - 2012-10-13 (2012-10-13, 09:22)MrC Wrote: Just add: Thank you. Works as expected Will you have a look into the resizing problem of the vortex visualisatioin? Release Thread |