Загрузка страницы

Viewcube with outline shading

One pass wonder... Stupid viewcube done with 3 shaders on one pass
Vertex sends information to geometry shader which passes out 3 times the triangles. Because of blending there will be artefacts if only scaling the shadow and then the normal cube on top. Now it makes shadow of original size then on top of that the scaled shadow and then on top of those the normal cube... Fragment shader know the mouse position and alter cube's alpha channel. Cube is highlighted based on a normal list sent along the vertex positions. Normals are not for the cube only for highlighting the faces, edges and corners, almost works good...

Видео Viewcube with outline shading канала Jyrki Koivisto
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
5 декабря 2020 г. 23:25:30
00:02:23
Яндекс.Метрика