Thread: Better Object Lighting?

Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1 Better Object Lighting? 
    Registered Member
    hacker's Avatar
    Join Date
    Jun 2013
    Posts
    1,409
    Thanks given
    576
    Thanks received
    580
    Rep Power
    5000
    Code:
    				} else if (opcode == 28)
    					anInt775 = buffer.readUnsignedByte();
    				else if (opcode == 29)
    					ambient = buffer.readSignedByte();
    Code:
            model_3.setLighting(64 + ambient, 768 + contrast, -50, -10, -50, !aBoolean769);
    Before:

    After:
    Attached image
    Reply With Quote  
     

  2. #2  


    RS Wiki's Avatar
    Join Date
    Mar 2011
    Age
    29
    Posts
    9,688
    Thanks given
    1,752
    Thanks received
    3,103
    Rep Power
    5000
    picture comparison?
    All the best,
    Wiki




    coming soon
    Reply With Quote  
     

  3. #3  
    Registered Member
    hacker's Avatar
    Join Date
    Jun 2013
    Posts
    1,409
    Thanks given
    576
    Thanks received
    580
    Rep Power
    5000
    Quote Originally Posted by RS Wiki View Post
    picture comparison?
    Not much of a difference but I guess this is more proper? Look at portal for reference.
    Before:

    After:
    Attached image
    Reply With Quote  
     

  4. #4  
    .supersyn

    myK-'s Avatar
    Join Date
    Aug 2008
    Posts
    1,781
    Thanks given
    22
    Thanks received
    40
    Rep Power
    399
    Looks a a lot lighter
    Reply With Quote  
     

  5. #5  
    Bossman

    ISAI's Avatar
    Join Date
    Sep 2012
    Posts
    1,916
    Thanks given
    655
    Thanks received
    1,366
    Rep Power
    5000
    I think the original looks better tbh...
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Apr 2014
    Posts
    226
    Thanks given
    97
    Thanks received
    10
    Rep Power
    0
    Can you explain the codes? Where do they go? Which class? And where exactly?
    Reply With Quote  
     

  7. #7  
    Registered Member
    hacker's Avatar
    Join Date
    Jun 2013
    Posts
    1,409
    Thanks given
    576
    Thanks received
    580
    Rep Power
    5000
    Quote Originally Posted by n0data View Post
    Looks a a lot lighter
    I believe this is proper way
    Quote Originally Posted by Rsed View Post
    Can you explain the codes? Where do they go? Which class? And where exactly?
    ObjectDef readValues and then for model.setLighting it might be model.method479 for u
    Attached image
    Reply With Quote  
     

  8. #8  
    Rune-Server Affiliate

    Join Date
    Apr 2014
    Posts
    1,761
    Thanks given
    75
    Thanks received
    714
    Rep Power
    1073
    dont see a difference
    Reply With Quote  
     

  9. #9  
    Registered Member
    hacker's Avatar
    Join Date
    Jun 2013
    Posts
    1,409
    Thanks given
    576
    Thanks received
    580
    Rep Power
    5000
    Quote Originally Posted by Zion View Post
    dont see a difference
    You must be blind
    Attached image
    Reply With Quote  
     

  10. #10  
    Rune-Server Affiliate

    Join Date
    Apr 2014
    Posts
    1,761
    Thanks given
    75
    Thanks received
    714
    Rep Power
    1073
    Quote Originally Posted by Hacker View Post
    You must be blind
    Why not change the actual formula of the calculateLighting method? Which will fix it for all other models and stuff. Also your varrock bank walls look really dark
    here is mine:



    If you want, i can give you my method?
    Reply With Quote  
     

  11. Thankful user:


Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Better way to handle objects
    By TheRedArmy in forum Snippets
    Replies: 6
    Last Post: 03-29-2014, 07:14 AM
  2. Replies: 1
    Last Post: 10-25-2012, 09:57 PM
  3. Better light theme
    By Anthony in forum Suggestions
    Replies: 21
    Last Post: 08-10-2012, 09:13 PM
  4. [508] Better object spawning that saves memory!
    By FuglyNerd in forum Tutorials
    Replies: 12
    Last Post: 01-31-2010, 08:12 PM
  5. Better Object Configuration System
    By Chimeric in forum Tutorials
    Replies: 53
    Last Post: 08-16-2008, 11:19 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •