jak-project/goal_src/jak2
Hat Kid 3d08d079c9
jak2: ocean renderer (#2142)
Initial implementation of the `ocean-mid`, `ocean-far` and `ocean-near`
renderers for Jak 2.

There's still a few things to sort out, mainly:

- [x] ~Backwards compatibility with Jak 1. The only thing that currently
stands in the way of that is figuring out a clean way to "un-hardcode"
the texture base pointer in C++ without creating a completely separate
`OceanTexture` class for Jak 2. One thing I thought of would be
modifying `BucketRenderer`'s virtual `init_textures` method to also pass
the `GameVersion`, but I'm not sure if there's a better way.~
- [x] ~The sudden transition from `ocean-near` to `ocean-mid`. Not sure
why it's happening or how to fix it.~
- [x] The ocean has two new methods in Jak 2, `ocean::89` and
`ocean::79`, one of which seems to be related to time of day sky colors.
~Even without them implemented, the end result looks quite close, so we
may be able to skip them?~ `ocean::89` generates `ocean-mid` envmap
textures, so it will likely be required, but will not be handled right
now.

Reverted the VU prologue removals because it made the tests fail.
2023-01-22 18:07:46 -05:00
..
build d/jak2: decomp a bunch of files related to the beginning of the game (#2043) 2022-12-01 21:26:49 -05:00
characters docs: add support for :override-doc in method declarations as well as documenting state handlers (#2139) 2023-01-21 20:45:45 -05:00
dgos g/jak2: initial Discord RPC implementation (#2100) 2023-01-07 10:34:01 -05:00
engine jak2: ocean renderer (#2142) 2023-01-22 18:07:46 -05:00
examples [decomp] collide-hash, collide-frag, collide-probe (#1998) 2022-10-29 20:32:03 -04:00
kernel d/jak2: first pass at decompiling the core vehicle/traffic code (#2058) 2023-01-14 12:01:33 -05:00
levels d/jak2: finish consite-obs and get almost all side-missions working (#2143) 2023-01-22 09:31:39 -05:00
pc g/jak2: initial Discord RPC implementation (#2100) 2023-01-07 10:34:01 -05:00
tools d/jak2: cleanup more of editable and editable-player (#2029) 2022-11-19 23:28:20 -05:00
compiler-setup.gc [goalc] compile/run code for jak2 ckernel, set up dummy KERNEL.CGO (#1625) 2022-07-08 19:23:49 -04:00
game.gp d/jak2: finish consite-obs and get almost all side-missions working (#2143) 2023-01-22 09:31:39 -05:00
kernel-defs.gc g/jak2: initial Discord RPC implementation (#2100) 2023-01-07 10:34:01 -05:00