Disclosed are triazine derivatives of formulawhereinX1 is a bivalent radical of formulaA and A′ independently from each other are unsubstituted or substituted, straight-chain or branched C1-C12alkylene, which is optionally interrupted by C5-C12cycloalkylene, N, O or S; C5-C12cycloalkylene; biphenylene; C6-C10arylene; or C5-C10arylene-(C1-C12alkylene);R1 is a radical of formulaR2 and R3 independently from each other are hydrogen; C1-C12alkyl; OR7; NR7R8; C6-C10aryl;X2 is O, or NH;W1 is C1-C20alkyl; or a group Sp-Sil;Sp is a straight-chain or branched saturated or single or multiple unsaturated C3-C12 hydrocarbon;Sil is a silane; an oligosiloxane; or a polysiloxane moiety; andR4, R5 R6, R7, R8 and R9 independently from each other are hydrogen; C1-C12alkyl; or C3-C12cycloalkyl.