Improved render to texture

Support render texture size different than screen size
This commit is contained in:
raysan5 2016-05-29 11:49:13 +02:00
parent 27df983ee0
commit ea5b00528b
5 changed files with 52 additions and 10 deletions

View file

@ -89,6 +89,8 @@ int main()
DrawGrid(10, 1.0f); // Draw a grid
End3dMode();
DrawText("TEXT DRAWN IN RENDER TEXTURE", 200, 10, 30, RED);
EndTextureMode(); // End drawing to texture (now we have a texture available for next passes)