Topic: Is there a way to send texture to uniform shader variable?
Hi, im trying to implement water and i'm looking for a way to render scene from camera for reflection. Maybe someone can help me with code sample c++ if any exists.
There is a function:
virtual void MRenderingContext::sendTextureImage(MImage *image, bool mipMap, bool filter, bool compress)=0;
But it takes a MImage as parameter. Is there a way to convert to MImage like
MTextureRef * colorTexture = camera->getRenderColorTexture();
Last edited by Skywriter (2014-07-20 07:49:45)