|
Shade-C 0.90 water for A8
#420480
03/27/13 09:51
03/27/13 09:51
|
Joined: Mar 2011
Posts: 3,150 Budapest
sivan
OP
Expert
|
OP
Expert
Joined: Mar 2011
Posts: 3,150
Budapest
|
hi as I mentioned I made this little Shade-C water conversion for A8 last week, without touching other parts of Shade-C 0.90. everything is detailed in the attached readme.txt file. 3 sample terrains are included and some other entities, and a character can be controlled to walk the scene throughout and check water behaviour. I suggest you to tweak all the parameters to get a water you like, in the files I mention in the readme.txt, or wait for the next MapBuilder update where it will be possible in real time on a simple panel. it supports now 16:9 screens, PSSM shadows, single skin or multiskin terrains using terraintex.fx, fog, HDR, but when you include sc_Dof.h and .c, you should always apply mtl_hdr, what you can disable afterwards immediately, as described in main.c to not to get a black screen. corrections, improvements, donations welcome  and of course, thanks for BoH_Havoc for this great collection! link: http://www.mediafire.com/?dak89ou5r04z2xefeatures: water with dynamic depth:  water without depth:  water with static depth map:  modified 3DGS mirrorwater: 
Last edited by sivan; 03/27/13 12:41.
|
|
|
Re: Shade-C 0.90 water for A8
[Re: gri]
#420485
03/27/13 11:39
03/27/13 11:39
|
Joined: May 2009
Posts: 5,377 Caucasus
3run
Senior Expert
|
Senior Expert
Joined: May 2009
Posts: 5,377
Caucasus
|
|
|
|
Re: Shade-C 0.90 water for A8
[Re: 3run]
#420510
03/28/13 09:56
03/28/13 09:56
|
Joined: Mar 2011
Posts: 3,150 Budapest
sivan
OP
Expert
|
OP
Expert
Joined: Mar 2011
Posts: 3,150
Budapest
|
wow, 52 downloads within a day  it means it is worthy to do similar things  (to be honest it was not a huge work, but was useful for learning view settings for me) a little suggestion: in sc_core.h at line 50 you can replace SC_OBJECT *myData = malloc(sizeof(SC_OBJECT)); with SC_OBJECT *myData = (SC_OBJECT*)sys_malloc(sizeof(SC_OBJECT)); for safety as it is freed by the engine on exit. or you can free it via water entity's skill99 before removing the water entity (maybe needed when loading a new level).
|
|
|
|