godot/scene/resources
jfons 16bbe8ddf4
3D editor grid improvements
This commit adds a view-dependant fade to the 3D viewport grid. It fades out
at steep view angles to hide the solid regions that appear far from the camera.
I also included a fade to hide the grid borders.

I added some improvements to the dynamic grid when the camera is in orthogonal mode.
It properly handles zoom now, and the grid center is now set to the intersection point
between the grid plane and the camera forward ray, keeping the grid
always visible.

(cherry picked from commit 73e62dffb9)
2021-02-02 13:30:50 +01:00
..
default_theme Cleanup: Remove executable bit from files which don't need it 2021-01-26 17:00:15 +01:00
animation.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
animation.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
audio_stream_sample.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
audio_stream_sample.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
bit_map.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
bit_map.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
box_shape.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
box_shape.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
capsule_shape_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
capsule_shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
capsule_shape.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
capsule_shape.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
circle_shape_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
circle_shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
concave_polygon_shape_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
concave_polygon_shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
concave_polygon_shape.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
concave_polygon_shape.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
convex_polygon_shape_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
convex_polygon_shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
convex_polygon_shape.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
convex_polygon_shape.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
curve.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
curve.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
cylinder_shape.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
cylinder_shape.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dynamic_font.cpp Fix memory leak dynamic font 2021-01-17 17:53:13 +01:00
dynamic_font.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
environment.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
environment.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
font.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
font.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
gradient.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
gradient.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
height_map_shape.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
height_map_shape.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
line_shape_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
line_shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
material.cpp 3D editor grid improvements 2021-02-02 13:30:50 +01:00
material.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
mesh_data_tool.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
mesh_data_tool.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
mesh_library.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
mesh_library.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
mesh.cpp CPU lightmapper formatting and minor fixes. 2021-01-14 18:08:33 +01:00
mesh.h Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
multimesh.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
multimesh.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
packed_scene.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
packed_scene.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
particles_material.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
particles_material.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
physics_material.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
physics_material.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
plane_shape.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
plane_shape.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
polygon_path_finder.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
polygon_path_finder.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
primitive_meshes.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
primitive_meshes.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
ray_shape.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
ray_shape.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rectangle_shape_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rectangle_shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_format_text.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_format_text.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
segment_shape_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
segment_shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
shader.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
shader.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
shape_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
shape.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
shape.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
skin.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
skin.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
sky.cpp Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
sky.h Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
sphere_shape.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
sphere_shape.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
style_box.cpp Fix typo in theming methods ("botton" -> "bottom") 2021-01-26 17:00:15 +01:00
style_box.h Fix typo in theming methods ("botton" -> "bottom") 2021-01-26 17:00:15 +01:00
surface_tool.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
surface_tool.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
text_file.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
text_file.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
texture.cpp Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
texture.h Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
theme.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
theme.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
tile_set.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
tile_set.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
video_stream.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
visual_shader_nodes.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
visual_shader_nodes.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
visual_shader.cpp Adds Metallic to spatial light input of visual shaders 2021-02-02 13:02:46 +01:00
visual_shader.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
world_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
world_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
world.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
world.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00