Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
0.8.4:default-material [2023/01/31 13:58] – [Changing Shaders at DesignTime] admin0.8.4:default-material [2023/01/31 14:02] – [Changing Shaders at DesignTime] admin
Line 1366: Line 1366:
 </file> </file>
  
-Here is example to create a wobbling effect in the vertex shader:+You can then modify or extend the shader functionality. 
 +Please have look a the section [[Shader Variables|]] for the available fields in TLocals structure. 
 + 
 +**NOTICE:** //Modifying the vertex position in vertex-shader all 3 fields "DATA.Position", "DATA.TransfVertexPos" and "DATA.WorldViewProjVertPos" need to be modified. Otherwise their basis might not be equal which leads to unexpected effects!// 
 + 
 +In the following example we've created a wobbling effect in the vertex shader:
  
 <file glsl> <file glsl>