Mods / Transmittance

Tags:
Shaders
Author:
Cheeki
Side:
Client
Created:
Jul 25th at 1:02 PM
Last modified:
Jul 25th at 8:01 PM
Downloads:
533
Latest release (for Vintage Story 1.22.0-pre.1 - 1.22.4, potentially outdated):
TransmittanceV1.0.1.zip  1-click install

Sunlight passing through any colored transparent blocks will cast tinted light. Also works with partially opaque objects such as the leaded window panes.
Technically a shadow pass so this requires shadows to be turned on.

Configurable through editing the file in ModConfig/transmittance.yaml or Config Lib

Might not work with some shader mods.

Ko-fi Donate

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.0.1 transmittance
1.22.0-pre.1 - 1.22.4
440 Jul 25th at 8:01 PM TransmittanceV1.0.1.zip 1-click install

added config. editable in /ModConfig/transmittance.yaml or through Config Lib
exposed internal values in config

Changed a bunch of internal stuff for light calculations. By default the mod is configured to be somewhat accurate to the block tint.
Now there is a desaturation function for more noticeable tinting when the light lands on a highly saturated block like grass.

1.0.0 transmittance
1.22.0-pre.1 - 1.22.4
93 Jul 25th at 1:11 PM Empty TransmittanceV1.0.0.zip 1-click install

15 Comments (oldest first | newest first) (threaded | flat)

Yarylo, 1 day ago (modified 1 day ago)

This mod is pretty awesome at what it does, thank you for making this! I'm spotting barely any performance impact. The combination with SheyderMod produces especially cool effects.

CipherPilgrim, 6 days ago

Does it have performance cost, and is it compatible with salty's immersive lighting? 

Cheeki , 6 days ago
@CipherPilgrim: Does it have performance cost, and is it compatible with salty's immersive lighting?

Very minimal performance cost. idk about compat. I don't use that mod so try it and report back.

pngwn, Jul 27th at 7:11 PM

Would it work with the colored windows from https://mods.vintagestory.at/apewindows ?

KelpCritter, Jul 25th at 9:07 PM

You are a saint!

Bobrik00, Jul 25th at 5:19 PM (modified Jul 25th at 5:19 PM)

Haha, I abandoned a mod just like this xD Nice work
https://ibb.co/JRmXkCR0

Moose_, Jul 25th at 3:33 PM

Is it client side only or does it need to be installed on the server too?

Anhaeyn, Jul 25th at 2:13 PM (modified Jul 25th at 2:37 PM)

For anyone curious - works with sheyder mod :) 

edit: after further testing - sort of works:Tinted light on the ground is either red/pink/orange or green in two different shades. Smoky glass gives very faint, grey shadow :( 

Cheeki , Jul 25th at 3:48 PM (modified Jul 25th at 3:50 PM)
@Anhaeyn: For anyone curious - works with sheyder mod :) edit: after further testing - sort of works:Tinted light on the ground is either red/pink/orange or green in two different shades. Smoky glass gives very faint, grey shadow :(

Seems like it's like that on grass only in vanilla from limited testing, works fine on other materials. I'll check further later. Doesn't seem like a shader issue to me, probably something colormap dependent.

pngwn, Jul 25th at 1:46 PM (modified Jul 25th at 1:46 PM)

Wow! Does it work with partially chiseled glass, or more than one color in a single block?