Skip to content
Snippets Groups Projects
Commit a9049970 authored by Byurrrer's avatar Byurrrer
Browse files

Добавил в графядро функции для проверки файлов на наличие (в шейдеры и...

Добавил в графядро функции для проверки файлов на наличие (в шейдеры и текстуры), поправил документацию аи сетки, добавил ее в doxygen, добавил некотрые элементы в редактор материала, поправил ошибки во все эдитах шейдеров/текстур (при проверке существования файла), добавил документацию по редактору материалов, с описанием шейдеров для материалов, в документацию добавил кнопку "редакторы" и соответствующую статью (для удобства пользователей)
parent fb0900c5
No related branches found
No related tags found
No related merge requests found
Showing
with 5 additions and 5 deletions
......@@ -7,8 +7,8 @@ mtrlskin_base.ps
#include <../struct.h>
#include <../mtrl.h>
sampler2D BaseSampler:register(s0);
sampler2D RF0SSIsSampler:register(s10);
sampler2D BaseTex:register(s0);
sampler2D ParamTex:register(s10);
half4 NearFarIsUnlit;
......@@ -16,14 +16,14 @@ ps_out_ds_mrt main(vs_out_gcommon IN)
{
ClipFar(IN.Pos.z,NearFarIsUnlit.y);
ps_out_ds_mrt OUT;
OUT.Color = tex2D(BaseSampler,IN.TexUV);
OUT.Color = tex2D(BaseTex,IN.TexUV);
half3 NormalPixel = normalize(IN.Normal);
OUT.Normal.xyz = 0.5f * NormalPixel + 0.5f;
OUT.Normal.w = NearFarIsUnlit.z;
OUT.Param = tex2D(RF0SSIsSampler,IN.TexUV);
OUT.Param = tex2D(ParamTex,IN.TexUV);
OUT.Param.w = NearFarIsUnlit.w;
OUT.Depth = GetDepthW(IN.Pos,NearFarIsUnlit.xy);
......
docs/html_editors/material_editor.files/image1.png

144 KiB

docs/html_editors/material_editor.files/image10.png

266 B

docs/html_editors/material_editor.files/image11.png

243 B

docs/html_editors/material_editor.files/image12.png

240 B

docs/html_editors/material_editor.files/image13.png

773 B

docs/html_editors/material_editor.files/image14.png

658 B

docs/html_editors/material_editor.files/image15.png

893 B

docs/html_editors/material_editor.files/image16.png

1.09 KiB

docs/html_editors/material_editor.files/image17.png

1.12 KiB

docs/html_editors/material_editor.files/image18.png

909 B

docs/html_editors/material_editor.files/image19.png

845 B

docs/html_editors/material_editor.files/image2.png

625 B

docs/html_editors/material_editor.files/image20.png

1.24 KiB

docs/html_editors/material_editor.files/image21.png

1.3 KiB

docs/html_editors/material_editor.files/image22.png

1.53 KiB

docs/html_editors/material_editor.files/image23.png

1.06 KiB

docs/html_editors/material_editor.files/image24.png

473 B

docs/html_editors/material_editor.files/image25.png

558 B

docs/html_editors/material_editor.files/image26.png

1.01 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment