Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

[SA] PS2 Grass to PC


The Hero
 Share

Recommended Posts

Hm, a grass patch limit? Didn't see that yet. Do you have more information on that?

 

EDIT: I found out that the colors are still wrong. They depend on timecyc ambient values. Currently I'm trying to find out how the PS2 game handles these, definitely *not* like the PC version.

Edited by The Hero
  • Like 2
Link to comment
Share on other sites

Hm, a grass patch limit? Didn't see that yet. Do you have more information on that?

Afraid not, that's all I know. I think @LINK/2012 took an extremely brief look into it, but that's about it.

Link to comment
Share on other sites

Ok, maybe I'll ask him if I need to.

 

In other news I found out how the ambient colors on the PS2 work (I think). On the PC the ambient color is just the first color in timecyc.dat, easy. On the PS2 however the largest of the three color channels is added to all three channels again (approximately, there seem to be precision problems for whatever reason). This is of course not grass specific but affects everything that uses the ambient color. Coupled with how the PS2 multiplies textures and colors differently (a color of 128 will leave the texture as is on the PS2, values above even brighten it. In d3d9 a value of 255 leaves the texture as is and there is now way to brighten it without a shader) this results in a difference for *all* statically lit geometry (although I have to check the VU1 code for world geometry again to see how the colors are really calculated). I will see if I can implement that in the PC game but it shouldn't be too hard.

Anyway, this ambient color is added to the color of the grass and this is multiplied by the intensity from plants.dat.

Edited by The Hero
Link to comment
Share on other sites

I implemented the colors correctly now I think, you can try the new version. I added an ini switch which enables PS2 ambient colors. I think one may need to change the rendering of static geometry for this to look exactly right but that has nothing to do with grass. Even the ambient color has nothing to with this, maybe we should put it into SilentPatch.

Edited by The Hero
Link to comment
Share on other sites

Igor Bogdanoff

1IteUxT.gif

Link to comment
Share on other sites

Just a small thing I noticed: many grass + standing inside in grass + backfaceCull=0 = lower fps

When I enable backfaceCull, I get higher fps. Maybe this is the reason why it's different on PC(?)

 

edit: ps2colors on grass applies what values to it exactly? I use a modified timecyc and getting white grass :D It uses color correction values?

 

edit2: nevermind, ambient color... :D

Edited by nyolc8
Link to comment
Share on other sites

 

PS2 (light grey)

2qbg8k0.jpg

 

 

I guess that tree right next to CJ is a part of the map rather than an actual plant, right?

Edited by Claude Liberty
Link to comment
Share on other sites

Oh dang, San Andreas shines once again thank you so much Mr. The Hero. Any idea if its possible to make procedural objects fade-in instead of just appear out of thin air?

  • Like 2

jYzLR2j.png

Link to comment
Share on other sites

I will take a look at that when I'm finished with the grass. Still have to find out why it's not placed correctly and fix it.

  • Like 4
Link to comment
Share on other sites

NKENFWb.jpg

Could you please write what did you do to achieve this look?

I mean what ype of plant1.txt and plant.dat and settings in ps2grass, please :)

Link to comment
Share on other sites

Changing ps2Ambient=1 to 0 does not disable coloring for me. Still works/looks like as it's on 1.

Edited by nyolc8
Link to comment
Share on other sites

Default plants.dat and txd

 

backfaceCull=0
ps2Ambient=1
farDist=85.0
fadeDist=80.0
densityMult=1.0

 

And backfaceCull set to zero causes a slight fps drop on some places

Link to comment
Share on other sites

The difference isn't that great. Have you reloaded the ini with F11 while the game was running? With ps2 ambient light the scene should be brighter.

Link to comment
Share on other sites

Igor Bogdanoff

Name is a bit incorrect because if you set densityMult to zero you will get "remastered version" grass. :D

(I wonder if someone sets it to zero because he love remastered version so much)

Link to comment
Share on other sites

Yeah backfaceCull=1 rapes the framerate quite hard especially in these fields:

 

RIKcm1T.png

 

This makes me wonder how they managed to make the PS2 not lag in those areas :S.

jYzLR2j.png

Link to comment
Share on other sites

Yeah tested, the whole screen gets brigther, but still with the latest version I get glowing grass in night (no matter if setting on or off) :D With older version (the one which didn't have this ambient thing) I got darker grass.

Edited by nyolc8
Link to comment
Share on other sites

Link to comment
Share on other sites

No, but if I set ps2Ambient to 0 then it should look like the same as with the older version ps2grass.asi, no? My problem is that it looks different even with setting 0.

Link to comment
Share on other sites

Nice to hear some of you have FPS drop problem. I nearly was gonna throw my PC out of the windows and it has a i7 and GTX780 lol

So the backfaceCull is responsible for FPS drops?

Edited by SilverRST
Link to comment
Share on other sites

Nighttime objects are indeed a lot brighter with the latest version:

 

q3SBMyl.png

56sObnU.png

 

Btw original PC timecyc(with increased draw distance)

Edited by Reyks

jYzLR2j.png

Link to comment
Share on other sites

I get glowing grass with original timecyc too... :/ (but only with latest version ps2grass.asi)

 

Is it possible to get the older asi from somewhere?

Edited by nyolc8
Link to comment
Share on other sites

Link to comment
Share on other sites

with default timecyc (re-enabled other mods because it was the same when I removed them):

 

TEj0Iqz.jpg

 

I tried disable it, no matter what I do it's this bright with latest asi. With the previous asi it was dark/normal. Can I download the previous version from somewhere?

Link to comment
Share on other sites

well this still not works the same as the previous version:

 

:pokerface:

 

8QSVIOD.jpg

 

 

edit: it looked good with older ps2grass.asi but I don't have that asi anymore:

PxRtWT0.jpg

 

Anyone have that old version?

Edited by nyolc8
  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.