Improved shaders_postprocessing example

This commit is contained in:
Ray 2017-05-16 00:14:14 +02:00
parent c9d6b7e356
commit 65e6a6db53
34 changed files with 24630 additions and 22395 deletions

View file

@ -34,7 +34,6 @@ Color colors[MAX_COLUMNS];
//Vector3 playerPosition;
Vector3 playerPosition = { 4.0f, 2.0f, 4.0f }; // Define player position
//----------------------------------------------------------------------------------
// Module Functions Declaration
//----------------------------------------------------------------------------------

View file

@ -85,6 +85,9 @@ void UpdateDrawFrame(void)
UpdateCamera(&camera); // Update camera (simulator mode)
if (IsKeyPressed(KEY_SPACE)) ToggleVrMode(); // Toggle VR mode
// Lock mouse cursor if mouse click on canvas
if (IsMouseButtonPressed(MOUSE_LEFT_BUTTON)) DisableCursor();
//----------------------------------------------------------------------------------
// Draw

File diff suppressed because one or more lines are too long