Hi guys,
I'm trying to make a script to get the framebuffer rendering and put as diffuse texture on coronamtl. I'm using the getVfbContent but is not working, what am I doing wrong?
newmat = CoronaMtl()
newmat.name = ("MAT_" + i as string)
selection.material = newmat
bmpBuffer = CoronaRenderer.CoronaFp.getVfbContent
newmat.texmapDiffuse = bmpBuffer
I'm getting this error:
Unable to convert: getVfbContent() to type: TextureMap