Skip to content

Commit

Permalink
made transition_shader example only use included assets.
Browse files Browse the repository at this point in the history
  • Loading branch information
pokepetter committed Nov 1, 2024
1 parent 887c958 commit d3d4834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ursina/shaders/transition_shader.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@
Texture.default_filtering = 'bilinear'

e = Entity(model='quad', shader=transition_shader, scale=5, cutoff=0,
texture='sword_slash', color=color.azure
texture='shore', color=color.azure
)
# mask = load_texture('explosion_particle')
# mask = load_texture('transition_shader_example_texture')
# mask = load_texture('perlin_noise')
mask = load_texture('sword_slash')
mask = load_texture('shore')
# print(mask)
e.set_shader_input('mask_texture', mask)
EditorCamera()
Expand Down

0 comments on commit d3d4834

Please sign in to comment.