Commit Graph

23 Commits

Author SHA1 Message Date
Aaron Franke 4ec9d7921b
Significantly improve the material tester demo 2020-01-30 21:48:59 -05:00
Hugo Locurcio a45b84a5ad
Handle multiple resolutions in most demos
This makes demos render correctly on hiDPI displays,
while also demonstrating how to handle multiple resolutions.

The 3D in 2D demo now uses "3D No-Effects" for the 3D viewport,
which is faster to render. Thanks to this, 4× MSAA is now enabled
for a better result.

The background loading demo now uses mipmaps for better-looking images.

The material testers demo now samples mouse input in a
resolution-independent manner when panning.

Default clear colors were also changed in some projects for visual
consistency with the project's theme.
2020-01-28 19:08:03 +01:00
Hugo Locurcio d191bf5558
Disable ETC2 texture compression in the Material Testers demo
Importing ETC2 textures is slow and requires a lot of RAM, so it
makes sense to disable it. Those who would like to run the demo
on mobile platforms can re-enable it in the Project Settings.
2020-01-04 00:19:55 +01:00
Hanif Bin Ariffin 1e44578b1e Fixed basis -> quat casting
Noticed a lot of error spat out because of unnormalized basis.
I simply followed the suggestion to use get_rotation_quat() instead of using constructor of Quat(x).
2019-09-23 19:09:40 -04:00
Hugo Locurcio 184b0fe5f8
Optimize all images using `oxipng -o6 --strip all --zopfli` 2019-06-11 16:40:50 +02:00
Hugo Locurcio 7f41a74a98
Increase sky radiance size to 128 (from 64) in the Material Tester demo
This makes reflections look nicer, especially on materials with low
roughness values.
2019-06-05 13:38:52 +02:00
Rémi Verschelde 63392a3574 Port 3D kinematic char and materials tester to Godot 3.1 2019-03-07 23:36:30 +01:00
Nathan Lovato ff4da36c17
Merge pull request #223 from cbscribe/code_cleanup
Code cleanup
2018-03-31 06:52:23 +09:00
Poommetee Ketson 0db64f6ea2
Fix moved msaa config in Material Demo 2018-03-19 23:01:38 +07:00
Chris Bradfield 9d66e8f2ef Code cleanup 2018-03-13 22:35:55 -07:00
sambler abb08c9d1a Automatic .import updates made by opening projects in the godot editor
These import changes allow the projects to be opened with the runtime.
2018-01-06 22:16:13 +01:00
Rémi Verschelde 8b9ae0f444 Fix invalid .gitignore on *.import files
Those define how the resources must be imported, and can
therefore contain important information (e.g. whether filters
should be used).
2018-01-05 19:03:00 +01:00
Rémi Verschelde f8ca6d0a4d Sync all demos with current master format 2017-10-30 12:38:39 +01:00
Indah Sylvia af318e4e9a Added icon for material tester demo 2017-10-30 02:31:56 +07:00
Poommetee Ketson a83b0b2df2 Fix material demo lighting & wool material rim
also project.godot trailing spaces
2017-10-29 23:09:09 +07:00
Scott Beca 3f37e754c3 Update project.godot files to latest format 2017-09-30 21:22:16 +10:00
Gilles Roudiere d6a8bf2138 Fix the material tester buttons being too low 2017-08-22 17:07:13 +02:00
Jakub Grzesik 2c012b4e59 basic fixes for project.godot files 2017-07-26 20:06:21 +02:00
Juan Linietsky fb8ef8efdb Added a toon tester 2017-07-08 14:04:04 -03:00
Juan Linietsky 528f4eb53f clean up material demo 2017-07-05 22:37:05 -03:00
Unknown 3f09780a9f gui acts properly for window size change 2017-07-05 18:22:57 +02:00
Juan Linietsky 85b8aeebc1 Relevant stuff is ported, so erasing old demos for now. 2017-07-05 09:12:01 -03:00
Juan Linietsky 435e4a33c1 Material tester demo 2017-07-03 12:54:09 -03:00