Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
0.8.4:default-material [2023/01/31 13:58] – [Calling an individual functions] admin | 0.8.4:default-material [2023/01/31 14:02] – [Changing Shaders at DesignTime] admin | ||
---|---|---|---|
Line 1350: | Line 1350: | ||
Since 0.8.4 it's possible to modify your default shader at designtime, by using published properties *VertexShader* or *SurfaceShader*. | Since 0.8.4 it's possible to modify your default shader at designtime, by using published properties *VertexShader* or *SurfaceShader*. | ||
- | Simply select | + | Simply select |
For VertexShader: | For VertexShader: | ||
Line 1366: | Line 1366: | ||
</ | </ | ||
- | Here is a example | + | You can then modify or extend the shader functionality. |
+ | Please have a look a the section [[Shader Variables|]] for the available fields in TLocals structure. | ||
+ | |||
+ | **NOTICE:** //Modifying the vertex position in vertex-shader all 3 fields " | ||
+ | |||
+ | In the following example we've created | ||
<file glsl> | <file glsl> |