255 Commits (2e116c0eae9c5271d3fbc4e605ee00e852c5613e)

Author SHA1 Message Date
Cameron Murphy Reikes 2e116c0eae Broken shadows, move all shaders to one file, reuse fragment shader in armature and mesh programs 12 months ago
Cameron Murphy Reikes c736ebd013 Armatures can have custom images, support non-alpha images in load image 12 months ago
Cameron Murphy Reikes c9b6ce0c3e Meshes refer to exported images, image caching system (only load path
once)
12 months ago
andrewjhaman 9fba3ec151 Fix collisions. Switch to No-Culling Shadow Maps. Introduce Better Shadow Bias Calculation. Calculate Normals in the Shader. 12 months ago
Cameron Murphy Reikes 563a2a69b0 Animation blending, fix facing direction of model 12 months ago
andrewjhaman fab5c86841 Fix Shadow Texture Border Sampling on Web
Fix Shadow Texture Border Sampling on Web, by doing a manual check of the uvs in the shader. This probably slows down other versions, but it is not feasible to have two versions of the shader just for this reason.
12 months ago
andrewjhaman f58d50f7ab Merge remote-tracking branch 'upstream/main' 12 months ago
andrewjhaman 3a4dd69ffb Remove Spurious Debug Include 12 months ago
andrewjhaman 2528423546 Bilinearly Sample Shadows Manually 12 months ago
Cameron Murphy Reikes b84f824f0e Export and import multiple animations, idle animation 12 months ago
Cameron Murphy Reikes e7ac3ee43c Walking animation working on desktop and web
- Skeleton texture is clamp to edge because it's an NPOT on webgl 1
12 months ago
Cameron Murphy Reikes 4137372292 Increase precision and max value of bone matrix floats
- I just made up a technique that is probably 30% efficient, this is
  something to revisit in the future
12 months ago
andrewjhaman 60679ceb2a Fit the shadow 'frustum' to the scene
Fit the shadow volume frustum to the scene geometry to maximize texel usage.
12 months ago
andrewjhaman 19c369fa1e Basic Shadow Mapping of Non-Armature Meshes
Basic PCF-Sampled Shadow Mapping of Non-Armature Meshes, with a rotating sun at a fixed position
12 months ago
Cameron Murphy Reikes f8fcd426a1 Encoding and decoding of float into normalied float vec4 12 months ago
Cameron Murphy Reikes 053ff80c39 Upload bone transforms as texture, drastically increases max bone count
from 4
12 months ago
Cameron Murphy Reikes 414df982a1 Lerp and slerp between animation keyframes 12 months ago
Cameron Murphy Reikes 53c04d573b Export animations from blender, render correctly with small # of bones! 12 months ago
Cameron Murphy Reikes 36b910c34b Move one parent relation out of poses, preparation for working anims 12 months ago
Cameron Murphy Reikes 6ce37294be Skin mesh vertices from bone pose in vert shader, fix rotation of
objects being weird
12 months ago
Cameron Murphy Reikes cbce6c9a81 Armatures are a separate kind of thing, that includes its mesh 12 months ago
Cameron Murphy Reikes e203dcc88b Decompose pose mat4 into offset, quaternion rotation, and scale 1 year ago
Cameron Murphy Reikes c3738d2f8c Deserialize bones in one chunk, slice iter macro 1 year ago
Cameron Murphy Reikes 90cd549acc Correctly load, visualize, and transform simple armature pose 1 year ago
Cameron Murphy Reikes 5da994257b Correctly import armature and debug draw each bone 1 year ago
Cameron Murphy Reikes 76d209f0b4 Export armature as bones, import and debug draw in 3d. Flipped coord
systems right now.
1 year ago
Cameron Murphy Reikes 300f849d19 3D model rotation, npcs face where they're moving 1 year ago
Cameron Murphy Reikes dc731fafeb Use artist's cowboy mesh for every NPC 1 year ago
Cameron Murphy Reikes c991047524 Multithreaded chat close w/o error, working chat generations, wall of
rocks
1 year ago
Cameron Murphy Reikes 6108da2cdc Place dynamic npc entities in blender as level editor, allocate on
initializing the gamestate
1 year ago
Cameron Murphy Reikes 560e9d8db7 player into gamestate, 3d collision system, entity struct nicer 1 year ago
Cameron Murphy Reikes 03a0d2b5d1 Respect alignment on web arenas, web build 3d works now 1 year ago
Cameron Murphy Reikes 87996ce4c5 Remove all old copyrighted sprites and animated sprites 1 year ago
Cameron Murphy Reikes 41375cc902 Delete tiled and all tilemap code from project 1 year ago
Cameron Murphy Reikes 6f5e5878b8 Remove 2d world space from the project 1 year ago
Cameron Murphy Reikes e590838b78 Debug drawing in 3d -> 2d, frame behind because project before camera
sets view/projection matrices
1 year ago
Cameron Murphy Reikes d8158c63c1 Alpha clipping, grass, stubbed out dbg3dline, made camera mat4s global 1 year ago
Cameron Murphy Reikes 2bda33bfca Export scale from blender, and import in game, draw with scale 1 year ago
Cameron Murphy Reikes d187308c2e Export rotations from blender, use quaternions for rotation 1 year ago
Cameron Murphy Reikes dcdc380b40 Draw player separate from level, camera looks at player while they move.
Art improvements
1 year ago
Cameron Murphy Reikes 33e7176d19 Binary level loading, separate passes for 2d and 3d 1 year ago
Cameron Murphy Reikes 86f2c544bf Texture the 3d rendering, fix image flip coordinate system 'problem' 1 year ago
Cameron Murphy Reikes fba0f0ec6d Initialize git lfs, 3d asset exporting and loading, debug rendering 1 year ago
Cameron Murphy Reikes 48afb43f0a Persistent arena is much bigger, add critical todo for later 1 year ago
Cameron Murphy Reikes 471c538162 Fix web build 1 year ago
Cameron Murphy Reikes c956cfb00b Characters have a persistent mood. Improves coherence of personalities.
Prompt tuning
1 year ago
Cameron Murphy Reikes 1c92f15e9f Rephrase give_item to gifting, fix standing string not in prompt 1 year ago
Cameron Murphy Reikes a721f7a416 New type of entities, machines, arrow dispenser, idol machine dispenser 1 year ago
Cameron Murphy Reikes cb16615453 Use binary serialization in web, fix exists bug in tests 1 year ago
Cameron Murphy Reikes 0b6af91d90 Remove old health bars 1 year ago