/* SHADER_DECL float4 MatColor; ed_name: "Material color" ed_type: rgba float4 MatParams: ed_name: "Material parameters" ed_x: "Backlight" 0 1 ed_y: "Normals up" 0 1 ed_z: "HIDE" 0 0 ed_w: "HIDE" 0 0 default: 0 0 0 0 texture TexDiffuse; ed_name: "Diffuse map" gamma_coded float4 VertexDeformParams template; // to jest predefiniowany param, todo: potem - zeby takich param nie trzebabylo w templacie pisac, tylko jesli jest shaderproperty np to same sie dodadza w ShaderDecl w c++ ed_name: "Vertex deformation" ed_x: "Speed" ed_y: "Edge leaves frequency" ed_z: "Edge leaves amplitude" ed_w: "Branch amplitude" shader_property PlantVertexDeform; // dodaje makro do shaderow dla zpass i shadowmap (_PLANTVERTEXDEFORM) oraz przekazuje im wymagane parametry shader_property Deferred; shader_property CustomZ; SHADER_DECL_END