Skip to content

Commit

Permalink
Update dank.game.py
Browse files Browse the repository at this point in the history
unfinished tmp fix
  • Loading branch information
SirDank committed Dec 30, 2023
1 parent b85f5ec commit 83f9a7f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions __modules__/dank.game.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
from ursina import *
from dankware import cls, clr, title
from numpy.random import choice, randint
from ursina.shaders.texture_blend_shader import texture_blend_shader
#from ursina.shaders.texture_blend_shader import texture_blend_shader
from ursina.shaders.basic_lighting_shader import basic_lighting_shader
from ursina.prefabs.first_person_controller import FirstPersonController

cls()
Expand Down Expand Up @@ -47,7 +48,8 @@
#player = EditorCamera()
player = FirstPersonController(speed=2.5)
sky = Sky(texture='sky.png')
Entity.default_shader = texture_blend_shader
#Entity.default_shader = texture_blend_shader
Entity.default_shader = basic_lighting_shader

world_size = 250 # n*2 x n*2
render_dist = 15 # n*2 x n*2
Expand Down

0 comments on commit 83f9a7f

Please sign in to comment.