kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 09 Aug 2013 01:00 PM |
If ROBLOX is working on brick shadows made by other lights than the sun, could they reduse lag by:
Lets say two bricks are next to eachother, insted of the light think that they is two bricks there, it thinks there is one and then blocks the shape of the two out? Would it work? |
|
|
| Report Abuse |
|
|
woot3
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 3599 |
|
|
| 09 Aug 2013 01:03 PM |
| This is called occlusion culling. ROBLOX currently does not do this I am guessing due to transparency but I am not entirely sure why. |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2013 01:04 PM |
| It would have to group the blocks together, and even then only by the viewpoint of the light source it is raycasting from. The grouping would probably end up being more expensive then just drawing both bricks, especially if in some cases it would be unneeded since both bricks wouldn't be drawn (if 1 brick is behind the other, it wouldn't be needed to group them since you would never even have to draw the 2nd one) |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2013 01:20 PM |
| With static objects, this should be done as a background task so that is won't cause too much lag and will eventually resolve lag/load. Moving objects... not good idea if you want smooth lighting. |
|
|
| Report Abuse |
|
|