Shader variable parsing

@M1ztl but i provided all code needed in:

height variable is there too. there are more posts than just one.

btw. anyway if you want pass any variable via code to shader, you need do it via materialDefinition