Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
0.8.4:default-material [2023/01/31 14:02] – [Changing Shaders at DesignTime] admin | 0.8.4:default-material [2023/01/31 14:07] (current) – [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 your default material source and open the text editor of the property. An empty GLSL function should be visible depending on the shader used. | + | Simply select your default material source, go to object inspector |
For VertexShader: | For VertexShader: | ||
Line 1367: | Line 1367: | ||
You can then modify or extend the shader functionality. | 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. | + | Please have a look a the section [[# |
**NOTICE:** //Modifying the vertex position in vertex-shader all 3 fields " | **NOTICE:** //Modifying the vertex position in vertex-shader all 3 fields " |