Improved render to texture
Support render texture size different than screen size
This commit is contained in:
parent
27df983ee0
commit
ea5b00528b
5 changed files with 52 additions and 10 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue