Jump to content

Object texture/shader


UnchiuDawg

Recommended Posts

Hello,  I want to change some places using the map editor and I'm encountering some weird lighting that probably originates from the buildings I'm using.

Here's a screenshot example:

Spoiler

Yw3UUuO.png

 

I would like to fix these or at least make them less obvious. They only look this weird at night.

Are there any clientside functions I could use to do it?

The only function I've seen on the wiki that seems to be able to help would be engineApplyShaderToWorldTexture, but I think that would change all the buildings that share this model, which I don't want to since the original one would then look weird.

Edited by UnchiuDawg
Link to post

Hello @UnchiuDawg,

This particular building/object is prelighted that way by the original Rockstar Developers. This means it's not possible to get rid of this peculiar lighting by shaders (as far as I know)

with prelighting you pre light an object, for example a road, so certain lights are rendered there and thus saving memory. 

You can however take this specific object, export it, prelight it yourself, and import it once again in your own server/map.

 

Here is a prelighting tutorial CodyJ(L) once send to me:

http://gtaforums.com/topic/273217-3dsmax-radiosity-advanced-lighting/

 

Good luck!

  • Thanks 1
Link to post

@UnchiuDawg using the function engineApplyShaderToWorldTexture has an argument that allows you to change the texture of a particular object eith the shader without the need to replace the textures of all the other objects that share the same original texture. Anyway, I mentioned that just to let you know, eventho that might not help a lot since it is a lighting issue.

  • Thanks 1
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...