Cities: Skylines

Cities: Skylines

[DEPRECATED] Additive Shader
43 comentarios
yao_zhou 25 MAR 2023 a las 4:24 
Use Prop Anarchy Temp Fix For Hubs & Transport update (patch 1.16.1-f2)
yao_zhou 22 ENE 2023 a las 22:46 
Deprecated. Use Prop Anarchy instead.
sorete83 10 OCT 2022 a las 7:34 
no funciona para la ultima actualización plazas y promenades
THE NEÁTITY 18 AGO 2022 a las 0:45 
Please help! By using just Prop Anarchy, Additive Shader assets disappear after reloading, but the same happens when using this. I really don't know what to do:/
darcula2000 1 AGO 2022 a las 21:45 
if you play a new save, you can use Prop Anarchy, but if you play with old save, eml have some bugs. i am not sure why,but it is the bug of eml.
Chamëleon TBN 28 JUN 2022 a las 6:39 
@†Archangel† what do not work with Prop Anarchy? It works smooth for me... @oshawotta737 nearly use no RAM .....
†Archangel† 20 MAR 2022 a las 1:45 
I dont understand what the heck is going on around this mod? Prop Anarchy by quistar doesnt work at all. Most of additive shader things doesnt shown up. The rest that shown up correctly disappears after reloading the game. How to fix that? I want to use prop anarchy. Help me please
oshawotta737 4 FEB 2022 a las 21:50 
@aubergine18 I tried the prop anarchy mod and it took up too much RAM for me. Does this still work?
Machinomancer 7 ENE 2022 a las 3:46 
Well props work now I just need to replace them again. As for some vehicle assets some illuminate and some don't.
leftbehind  [autor] 6 ENE 2022 a las 21:59 
@Machinomancer I'm using Prop Anarchy with Procedural Objects and it seems to be working - sub the "Compatibility Report" as it might find an incompatible mod.
Machinomancer 6 ENE 2022 a las 20:36 
Prop Anarchy mod is still buggy as most (not all) assets are not showing up. Particularly props that use the Procedural Objects mod.
StayHungryStayFoolish 28 DIC 2021 a las 0:12 
You are a great author, aubergine18. Would you be kind to add [DEPRECATED] instead of [TEST] remark? I would also recommend adding your comment to the main description of this mod. This will help other gamers, too. Thank you.
leftbehind  [autor] 27 DIC 2021 a las 16:52 
Prop Anarchy mod is now full released with a greatly improved Additive Shader feature built in - give it a try (but be sure to create backup and read mod description carefully as it replaces entire prop framework): https://steamproxy.net/sharedfiles/filedetails/?id=2696146766
Francis 21 DIC 2021 a las 4:33 
This title should be: Additive Shader 2! [/b]
leftbehind  [autor] 30 NOV 2021 a las 9:34 
I'll try and update this with some of the enhancements made by Quistar in his Prop Anarchy mod; should fix the remaining issues with some assets not working.

@Delta thanks for bug report, I'll see if I can fix that too. Sorry for taking so long to reply, been away for quite some time due to RL issues.
StayHungryStayFoolish 30 NOV 2021 a las 2:35 
The author has the name "Additive Shader" however the official title has no [BETA] at front of the mod name...
Yangxuzhu 22 JUN 2021 a las 16:26 
looks like this beta become obsolete, the author is no longer active for a while.
rnealj62 28 ABR 2021 a las 21:35 
Is this still a valid mod? Doesn't seem to be working. loaded a save that had buildings using this mod but the buildings no longer light up like before.
[Delta ²k5] 6 FEB 2021 a las 16:25 
@aubergine18, I found some bug in the current version of your mod regarding the control using keywords:

Despite your documentation says "NightTime" will toggle the shader on during night the logic seems to be reversed (the shader shows up during daytime).

The same applies to "DayTime" - using this keyWord the shader shows up during night time ;)

So either the documentation is off or the logic is inversed.

Best regards!
DeFubaco 31 JUL 2020 a las 7:27 
You dont understand how much I wanna thank you! Now all the holograms in my city works. They wouldnt show up before but with this updated Additiv.Sh. it does. Thank you!
Mulher é merda 20 JUL 2020 a las 20:56 
Thanks!!
leftbehind  [autor] 7 JUN 2020 a las 23:00 
YESSSSSS!!!!!
ⒸⒶⓁⒸⒾⓊⓂ 7 JUN 2020 a las 21:38 
yes, it works flawlessly now! the glitch has been solved.
leftbehind  [autor] 7 JUN 2020 a las 17:55 
@ⒸⒶⓁⒸⒾⓊⓂ: See if it works any better now. I've set it to refresh render groups when render distances change, so should hopefully be much more compatible ULOD and also show correctly after loading a save.
leftbehind  [autor] 7 JUN 2020 a las 9:39 
Should it respect ULOD, or should it override for addive shaders? I've just worked out why it isn't showing them on load - despite setting their render distances higher. If I fix that, it will override ULOD (but only for stuff that uses additive shader).
ⒸⒶⓁⒸⒾⓊⓂ 7 JUN 2020 a las 2:57 
here's the paste of the additive shader assets report bit: https://pastebin.com/sbRQ0YR1 , additive shader is detecting them correctly.
I think my "issue" is a non-issue by now...additive shader is working as it should. since the shader asset used by those buildings are props, I tried to increase the prop render distance on ULOD and the lights can be seen from distance now. It might be ULOD overriding the render distance of shader asset props on next load. thanks a lot for supporting mate
leftbehind  [autor] 7 JUN 2020 a las 0:32 
@ⒸⒶⓁⒸⒾⓊⓂ: Just uploaded an update which might fix those buildings - let me know if it works.
leftbehind  [autor] 6 JUN 2020 a las 13:37 
If you search your output_log.txt for `[AdditiveShader] Assets` you'll see a report on all the shader-using assets. Those Dubai buildings will be `BuildingInfo[C]` indicating they are container buildings - unlike your other buildings they don't have their own shader, but use props within the buildings and have to set the max prop distance for the building to prevent the props LODing.

Can you upload your output_log.txt (or just that assets report bit) somewhere? I want to see if the props are being detected properly (they should be listed in the report as `PropInfo`).
ⒸⒶⓁⒸⒾⓊⓂ 6 JUN 2020 a las 8:24 
I had a deep look using mod tools again, and found some differences between the buildings that suffer the issue e.g. Marina Torch - Dubai and buildings that don't e.g. CITIC Tower Beijing .

CITIC has the light as part of its sub-buildings (setting is 22 6 20 1): https://imgur.com/QKGVfZL , all in 1 crp archive
Torch however has the lights attached as props instead (setting is 18 6 420 3.2): https://imgur.com/FGx6vYX , where the main building is one crp, and the light shader mesh is in different crps (different light color different crp)

So I played around and plop one of the lights used by Torch via Find It! since it's a prop, and the building lights up! Reloading save goes into the same glitch faced initially, but removing the lights light the building up again. Do you think it's the problem with asset's design instead?
ⒸⒶⓁⒸⒾⓊⓂ 6 JUN 2020 a las 6:21 
yup the same problem occurred in the original version of additive shader as well.
tried to peek via mod tools but I don't see any difference in properties other than general stats. not sure if it's the problem with the building mods themselves or not, like the variables to be used for shader being defined wrongly or something. but since you can't reproduce it I'm not even sure now. maybe some mod conflicts that we aren't aware of.
leftbehind  [autor] 6 JUN 2020 a las 4:36 
Hrm, I can't reproduce that glitch. If you have Mod Tools can you try and work out what properties are different between it working and not working? Does the same issue occur with the original version of Additive Shader?
ⒸⒶⓁⒸⒾⓊⓂ 6 JUN 2020 a las 3:39 
@aubergine18 I've managed to narrow down the reproduction step for the issue, so yeah I think it's not completely fixed (using the latest build)

https://imgur.com/a/RaByA5V
the buildings I've highlighted previously still aren't being lit up viewing at distance. so I've tried re-plopping a building with such issue and as it turned out the new building worked fine, until the game is reloaded (save -> exit to desktop -> reload game -> load save) where same issue persists on the new building as well.
leftbehind  [autor] 6 JUN 2020 a las 1:05 
ⒸⒶⓁⒸⒾⓊⓂ See if its fixed now. Just tested in game and with building in middle of map I could still see the additive shader from corner of map.
leftbehind  [autor] 6 JUN 2020 a las 0:38 
Updated to 1.5.0 Beta-2:

- Asset scanner 2x faster
- Asset report 3x faster (thanks dymanoid!)
- Fixed render distances being overwritten by Level Of Detail game setting
- Fixed render distances sometimes being set smaller than asset defined
ⒸⒶⓁⒸⒾⓊⓂ 6 JUN 2020 a las 0:08 
@aubergine18
most of these assets that turn off away from default LOD distance were usually created by OFFICIALSAURON. https://steamproxy.net/id/gby0221/myworkshopfiles?appid=255710&p=1&numperpage=30

notably:
Elite Residence - Dubai
Ocean Heights - Dubai
Damac Residenze - Dubai
Marriott Hotel & Suits - Dubai

for performance, i've recorded around ~1fps increase on new game due to many other mods that impact performance from other areas resulting in some forms of diminishing returns, but a performance increase nonetheless.
leftbehind  [autor] 5 JUN 2020 a las 17:08 
@Delta: Try using that existing approach but with this beta version of Additive Shader. I suspect it might now work as expected.

Reason: Old additive shader would update every shader every frame. So if a shader was always on, it would get re-set to on every frame. This beta version doesn't do that: for always on shaders, it only sets on at the start (when city is loaded) and doesn't alter them again for rest of game.
[Delta ²k5] 5 JUN 2020 a las 16:39 
@aubergine18:

On props the effect is toggled using the following parameter:
Tool Controller > ToolController > m_editPrefabInfo > m_illuminationBlinkType

There are some blinking speeds/types available like None, Blink_050_050, Blink_025_025 and probably other values.

Background: I'd like to use the blink type on my vehicles submeshes to create more realistic beacon/strobe light effects (like you got from LEDs irl :) )

Thank you for looking into this!
leftbehind  [autor] 5 JUN 2020 a las 16:27 
@ ⒸⒶⓁⒸⒾⓊⓂ : Could you post a link to one of those assets that's turning off at distances and I'll check to see what problem is.

@ [Delta ²k5] It might be possible, I'd have to check. If you can provide details of how normal props achieve that effect I'll take a look. Also, in v2 (already in development) I've added ability for _moddable visibility toggles_ - for example, shaders could be turned on/off based on weather or other factors. It would be trivial (once v2 is done) to add a blinking effect, although not sure yet how to handle ratio of on vs. off time...

@ garfield007 w00t! that's a decent fps increase!
garfield007 5 JUN 2020 a las 10:11 
@aubergine18 as for now everything works for me and i would say i get like 4fps more
[Delta ²k5] 5 JUN 2020 a las 1:51 
Hey there, I got a question - is it possible to set a blinking mode (like you got on props) using the additive shader? I researched a bit but didn't find an actual answer or script to set it up.

Also thank you for improving this mod! :)
ⒸⒶⓁⒸⒾⓊⓂ 5 JUN 2020 a las 1:51 
the bug you've mentioned, do you think I'm looking at the same problem as well? or is it solely dependent on shader config of each building?
https://imgur.com/a/USwtZNf
leftbehind  [autor] 4 JUN 2020 a las 23:33 
I think I found one bug - if the level of detail is changed it resets the lod distances, so I'll have to hook that and refresh the shader props/decals/etc. Luckily I know how to do that already so should be quick fix.

Did you notice any performance improvement over the original mod?
ⒸⒶⓁⒸⒾⓊⓂ 4 JUN 2020 a las 22:44 
nice! been running off latest dll build via git repo since yesterday and no bugs so far.