Use the fragment shader to calculate the shading effect for a more uniform shading than the one based on vertex

This commit is contained in:
luisangelsm
2026-01-18 18:23:04 +01:00
parent 7384d50721
commit 41b02725d7
7 changed files with 58 additions and 32 deletions

View File

@ -157,7 +157,10 @@ SOURCES += ../common/comic.cpp \
SOURCES += ../common/rhi/yacreader_flow_rhi.cpp
SOURCES += ../common/rhi/yacreader_comic_flow_rhi.cpp \
../common/rhi/yacreader_page_flow_rhi.cpp
RESOURCES += ../common/rhi/shaders/shaders.qrc
RESOURCES += ../common/rhi/shaders/shaders.qrc
# Make raw GLSL shader sources editable in Qt Creator
OTHER_FILES += ../common/rhi/shaders/flow.vert \
../common/rhi/shaders/flow.frag
}
}