Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EmiOnGit/birdylook
/ functions
Functions
13 in github.com/EmiOnGit/birdylook
⨍
Functions
13
◇
Types & classes
4
↓ 1 callers
Function
lantern_point_light
loads the default point light used for lanterns
src/scene.rs:59
↓ 1 callers
Function
water_material
loads the default water material used
src/scene.rs:50
Method
alpha_mode
(&self)
src/water.rs:49
Method
build
(&self, app: &mut App)
src/grass.rs:6
Function
create_grass
Creates the grass in our game world
src/grass.rs:12
Method
fragment_shader
()
src/water.rs:43
Function
main
()
src/main.rs:15
Function
prepare_scene
prepares the loaded scene This mostly consists of adding all components/ materials to objects of the scene
src/scene.rs:8
Function
setup
(mut commands: Commands, asset_server: Res<AssetServer>)
src/main.rs:47
Function
setup_reflection_cam
Creates another camera which renders directly to the texture used for reflection of the water. The camera will be positioned under the player by the [
src/water.rs:89
Function
update_reflection_cam
Update the position of the reflection camera according to the current position of the players camera.
src/water.rs:137
Function
update_reflection_texture
When the game window is resized the texture defined by the [`WaterMaterial`] also needs to be adjusted.
src/water.rs:55
Method
vertex_shader
()
src/water.rs:46