www.tombraiderforums.com

www.tombraiderforums.com (https://www.tombraiderforums.com/index.php)
-   Software Development (https://www.tombraiderforums.com/forumdisplay.php?f=55)
-   -   FLEP custom patches: updates, testing and discussion (https://www.tombraiderforums.com/showthread.php?t=196854)

Shakira Croft 29-01-13 06:57

Incredible ! Thank you so much =)

Raider99 29-01-13 11:55

*faints*

Thank you so much! :hug:

klona 29-01-13 12:54

Thank you so much! :D
I wonder what does DOT3 bump mapping do?
I've used it but nothing changed. (Maybe I'm expecting the wrong thing)
By the way; can you please please make the underwater waves and camera rotation patch available for TRNG? :D

Lwmte 29-01-13 13:08

DOT3 bump mapping changes the way bumpmaps are applied to textures. By default, TR4 engine simply overlays bumpmaps onto textures, ignoring lighting and surface normals orientation. So, what DOT3 bump mapping patch does, is it changes bumpmap blending operation from simple overlay to dot product function (you can read about it here), which results in bumpmaps reacting to lights, their intensity and orientation. You can easily note a difference at the start-up of Catacombs, Cleopatra's Palaces levels in classic TRLE level set, or, in recent levels, King Arthur's Project (when jeep goes through underground area, you can easily spot how jeep's headlights affect wall textures).

The effect is not so obvious because generally TR has no dynamic lights applied to room textures, only static. It could be really awesome if TR supported bumpmaps on movables.

klona 29-01-13 13:26

Quote:

Originally Posted by Lwmte (Post 6626787)
DOT3 bump mapping changes the way bumpmaps are applied to textures. By default, TR4 engine simply overlays bumpmaps onto textures, ignoring lighting and surface normals orientation. So, what DOT3 bump mapping patch does, is it changes bumpmap blending operation from simple overlay to dot product function (you can read about it here), which results in bumpmaps reacting to lights, their intensity and orientation. You can easily note a difference at the start-up of Catacombs, Cleopatra's Palaces levels in classic TRLE level set, or, in recent levels, King Arthur's Project (when jeep goes through underground area, you can easily spot how jeep's headlights affect wall textures).

The effect is not so obvious because generally TR has no dynamic lights applied to room textures, only static. It could be really awesome if TR supported bumpmaps on movables.

I wonder if it would work on the Flares or LED Light!? :eek:

Suikaze Raider 29-01-13 13:42

Thanks Lwmte :)

I just tested your Clear Menu Backgrounds with default settings and works fine :) I noticed if it's raining, the rain particles don't stop when the game is paused or in inventory :confused: And if it's fogged, it dissapears when you are on inventory or pause, but if you enter to load or save options appear :confused: But I think those things are from engine :)

This patch could be ported to final TR4 & TR5 Games? I tried it, but it doesn't work, the game always crashs :hea: And on TR5 I can't find the long code patch, but maybe the code is diferent :confused:

Another thing... TR4 Engine has a bug with explosive ammo :hea: When you shot a freeze dog (OCB: 1) or a mummy on floor (OCB: 2), the game always crashs. This happens in TR2 with jade freeze warriors too :hea: That bug could be fixed? :)

Cheers :)

Lwmte 29-01-13 13:51

In TREP version, backgrounds patch bypassed rain and snow routines, so they didn't show up under backgrounds, with TRNG version I can't do so (because rain/snow procedure is in dll). As for fog issue, yes, there is a problem indeed; another possible problem is poisoning "trip effect", which also corrupts background. I guess, these are the bugs to be fixed in the future.

As for porting patches to TR4 / TR5 versions, this is something really simple, but you need to know basics of assembly language and OllyDbg usage. Only thing that is needed is to correct addresses of functions and variables.

I never knew about grenade bug though; will check it out! ;)

klona 29-01-13 13:52

Quote:

Originally Posted by Suikaze Raider (Post 6626825)
Thanks Lwmte :)

I just tested your Clear Menu Backgrounds with default settings and works fine :) I noticed if it's raining, the rain particles don't stop when the game is paused or in inventory

I saw that too.
I find it cute, tbh. :vlol:

Lwmte 29-01-13 14:02

Quote:

Originally Posted by klona (Post 6626814)
I wonder if it would work on the Flares or LED Light!? :eek:

Yes, however, effect is not too noticeable, because only bright heightmap zones are affected. I will try to modify rendering pipeline, so effect will be more noticeable (currently TR4 engine does 2-pass rendering, and I will try to add third pass for bumpmap shadows).

teme9 29-01-13 17:00

Wonderful patches!! You truly have a way of getting around problems :D I wouldn't be much suprised if you're going to do something really mindblowing soon :D Thank you!


All times are GMT. The time now is 10:32.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.