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

I still don't understand the problem. I don't get such bright grass at 00:00 with PLEASANTLYWARM weather. Can you confirm that even at that time and weather it looks wrong?

Edited by The Hero
Link to comment
Share on other sites

What about these bright objects/buildings at night? Am I the only one with that?

jYzLR2j.png

Link to comment
Share on other sites

No, why should you? I implemented the same handling of ambient light as on the PS2 now, that's why it's brighter. You can disable it if you don't like it.

  • Like 2
Link to comment
Share on other sites

Well I only an run samp, and I made these screens in samp_debug. the time is 00:00, I don't know what is the weather. BUT I still get bright grass with modded grass textures... AND only with this new asi :/

 

So with older asi (no ps2ambient option in it):

PxRtWT0.jpg

 

With new asi or ps2grass_noamb.asi (ps2ambient on or off, doesn't matter):

jYYaC21.jpg

 

So the ps2grass_noamb still looks different from the older asi... :(

Edited by nyolc8
Link to comment
Share on other sites

Igor Bogdanoff

I have different problem, buildings are flashing at night, but now SA look so gorgeous, never knew SA look like this.

Link to comment
Share on other sites

Your buildings flash? Are you *sure* this is caused my this mod? And does it still happen when you disable PS2 ambient light?

 

nyolc: That's why I said use the PLEASANTLYWARM cheat (unless cheats are disabled on SAMP?). Anyway, without an unmodified game (apart from SilentPatch and my ps2 asis) I won't be able to help you.

Link to comment
Share on other sites

I just want the previous version ps2grass.asi (the one which didn't have the ps2ambient option).... :/ That looked good with modded game (first screen in my previous post).

 

(that old one was 70kb, the ps2grass_noamb is 72kb)

Edited by nyolc8
Link to comment
Share on other sites

No, why should you? I implemented the same handling of ambient light as on the PS2 now, that's why it's brighter. You can disable it if you don't like it.

My bad I thought it was a bug on my side or something :p.

 

Although like Tomasak said, the game looks beautiful with PS2 ambient lighting during the day, the only downside is the nightime looks silly

jYzLR2j.png

Link to comment
Share on other sites

Igor Bogdanoff

Ok, the flashing is even with disabled PS2 ambient light

Link to comment
Share on other sites

nyolc: I think this asi should be the same as the last before I fixed the colors: http://aap.papnet.eu/gta/ps2grass_nyolc.asi

 

And what's the problem with night ambient light? I mean the difference isn't *that* great.

 

Tomasak: But are you sure the flashing is caused by this mod? What if you remove the asi? Because I don't touch the buildings at all in this mod. Only indirectly through the ambient light, but when you disable that there should be no difference. EDIT: Wait, I mess with the default render callback but this should be no problem. Unless you have a mod which does the same maybe?

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

The Hero, what does the backfaceCull exactly do? I didn't see any difference. perhaps, maybe my eyes are deceiving me?

 

And because, well, I don't know because of my empty face, I set the backfaceCull to 1 ans no more FPS drops at certain locations.

So it doesn't matter how many grass there, ow f*ck yes! Moar grass!!11!!!1

And it's also funny too because at certain locations, you litteraly can no longer find your vehicle back lol.

I lost my bikes numerous times because of the high and dense grass and I also can easily get lost. (Disabled the radar because it's much better this way)

WOx4y4H.jpg

 

And I also disabled PS2amb, I read it has some problems like the grass being radioactive and I don't want CJ transform into a big black The Hulk

destroying hundreds of tanks and going on rampage lol

5P3kCLX.png

  • Like 2
Link to comment
Share on other sites

Igor Bogdanoff

Tomasak: But are you sure the flashing is caused by this mod? What if you remove the asi? Because I don't touch the buildings at all in this mod. Only indirectly through the ambient light, but when you disable that there should be no difference. EDIT: Wait, I mess with the default render callback but this should be no problem. Unless you have a mod which does the same maybe?

I found that flashing building, floor etc. is even on PS2. Never noticed it before (maybe I have some problem with eyes, it's very visible with PLEASANTLYWARM and NIGHTPROWLER combined)

Link to comment
Share on other sites

Backface Cull is a performance friendly method that doesn't render/display the 'hidden' polygons of a mesh.

Here's an example: tumblr_inline_n968t4gyS61r2xhmf.png

Link to comment
Share on other sites

Tomasak: I don't see it. Can you make a video?

 

SilverRST: Only nyolc8 has problems with grass and he's using mods which change the grass apparently.

Backface cull means only one side of a polygon is drawn.

 

Source is available now: http://tohjo.eu/aap/ps2grass/tree/master

Edited by The Hero
Link to comment
Share on other sites

I thought f*ck it, opened plants.dat and tweaked grass itself to make it look good :D

 

(normal latest ps2grass.asi, ps2ambient enabled)

NZ0yYvC.jpg

Link to comment
Share on other sites

Igor Bogdanoff

Tomasak: I don't see it. Can you make a video?

 

 

Link to comment
Share on other sites

I dunno if I should post it here or in SilentPatch topic, but anyway. The grass renders in the wrong order, the further bushes above those which are closer, no matter which two-pass is being used, your or Silent's. Here's an example:

ilpa9sal.jpgrHv9f3Sl.jpg

PS. No FPS drops on my GTX980.

 

Totally offtopic: Cookies to that someone who guesses what car I was in.

Edited by Claude Liberty
Link to comment
Share on other sites

You can't change that easily. Grass is drawn without writing z so you're bound to have those problems. Also SilentPatch doesn't touch the rendering of grass.

 

Tomasak: Interesting. Doesn't happen in my game.

Edited by The Hero
Link to comment
Share on other sites

Totally offtopic: Cookies to that someone who guesses what car I was in.

Infernus.

Link to comment
Share on other sites

@nyolc8

 

I stopped playing SA-MP mainly due to this kind of stuff, basically SA-MP + fancy mods=poop, and trying to fix it is a big pain in the ass. If you use the latest modloader you can create a profile to disable certain mods when you launch the game trough SA-MP

 

@tomasak

 

That happens in night transitions even without this mod, and if you have NIGHTPROWLER enabled it will happen constantly. My guess is that it's more visible due to the PS2 ambient light.

Edited by Reyks
  • Like 1

jYzLR2j.png

Link to comment
Share on other sites

But if you're implementing PS2 grass rendering mechanism, doesn't that include new Z-buffer writing code, or whatever it is called?

PS. Cookies to the Cookie Monster! That was inevitable. Plus the spoiler spoiled the mystery, quite literally.

  • Like 2
Link to comment
Share on other sites

SA-MP doesn't give a damn about mods, so why should we give a damn abour SA-MP? :(

Link to comment
Share on other sites

Claude Liberty: I could implement something closer to the PS2 behaviour indeed. That requires another dual pass and would slow down the rendering even more but I can make an ini switch so it won't be a problem.

Link to comment
Share on other sites

Well, I came later to the party, where is the download link for the ASI and someone can share his config please?

Link to comment
Share on other sites

Well, I came later to the party, where is the download link for the ASI and someone can share his config please?

Here you go

 

http://aap.papnet.eu/gta/ps2grass.zip

 

My settings:

 

 

 

 

[PS2Grass]

 

; lets F11 reload this ini and F12 reload ini and plants.dat (default 1)
enableHotkeys=1
; enables or disables backfaceCull. PS2 has it disabled and PC has it enabled (default 1)
backfaceCull=1
; use PS2 ambience color. This means the greatest ambient color channel is added to all channels again (default 0)
ps2Ambient=1
; farDist is the distance before which grass is visible (default 60.0)
farDist=60.0
; between farDist and farDist+fadeDist grass will be faded in (default 20.0)
fadeDist=20.0
; a multiplier for the density (plants.dat reload needed) (default 1.0)
densityMult=1.0

 

 

 

EDIT: backfaceCull=0 may lag a lot if you have a crap GPU like I do.

Edited by Reyks

jYzLR2j.png

Link to comment
Share on other sites

@nyolc8

 

I stopped playing SA-MP mainly due to this kind of stuff, basically SA-MP + fancy mods=poop, and trying to fix it is a big pain in the ass. If you use the latest modloader you can create a profile to disable certain mods when you launch the game trough SA-MP

 

@tomasak

 

That happens in night transitions even without this mod, and if you have NIGHTPROWLER enabled it will happen constantly. My guess is that it's more visible due to the PS2 ambient light.

I fixed it by editing plants.dat. Edited all grass colors (mainly the color intensity value) and now all grass looks good with ps2ambient enabled. In samp. And I can't disable mods FOR samp only because I ONLY play in samp. :p
  • Like 2
Link to comment
Share on other sites

Please, could someone provide all needfull plants files for this new grass to work correctly ? I think I messed too much with mine before and I get really crazy crap in my game.

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.