mirror of
https://github.com/bevyengine/bevy
synced 2024-12-18 09:03:07 +00:00
3fc2bd71ea
# Objective This example is really confusing to look at and tell at a glance whether it's broken or not. It's displaying a strange shape -- a cube with two vertices stretched in a couple dimensions at an odd angle, and doing its vertex position modification in a way where the intent isn't obvious. ## Solution - Change the gltf geometry so that the object is a recognizable regular shape - Change the vertex modification so that the entire cube top is being "lifted" from the cube - Adjust colors, lighting, and camera location so we can see what's going on - Also remove some irrelevant shadow and environment map setup ## Before ![Image](https://github.com/user-attachments/assets/e5dd5075-0480-49d4-b1ed-cf1fe6106f3c) ## After <img width="1280" alt="image" src="https://github.com/user-attachments/assets/59cab60d-efbc-47c3-8688-e4544b462421"> |
||
---|---|---|
.. | ||
AlienCake | ||
animated | ||
AnisotropyBarnLamp | ||
barycentric | ||
CornellBox | ||
cube | ||
cubes | ||
DepthOfFieldExample | ||
extras | ||
FlightHelmet | ||
FlightHelmetLowPoly | ||
GltfPrimitives | ||
GolfBall | ||
IrradianceVolumeExample | ||
PalmTree | ||
ship | ||
SimpleSkin | ||
sphere | ||
terrain | ||
TonemappingTest | ||
torus | ||
VolumetricFogExample | ||
Box0.bin |