Files
atdunbg f73e52926f Reorganize directory layout: editor panels/, grouped shaders, drop stale header
- App/editor: move 7 panels into panels/ (Editor core stays at root)
- shaders/: group into pbr/ post/ debug/ env/ (runtime load paths updated)
- Delete outdated duplicate Engine/src/Renderer/VulkanAssetUploader.h
2026-10-07 09:52:17 +08:00

14 lines
387 B
GLSL
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#version 450
// HitProxy 片元:把顶点传来的实体 id 原样写进 R32Uint 目标。
// flat 限定 = 无插值,像素值即命中图元的实体位模式;
// 清屏色 0xFFFFFFFF(kPickMiss)= 天空/空隙未命中。
layout(location = 0) flat in uint inEntityId;
layout(location = 0) out uvec4 outColor;
void main() {
outColor = uvec4(inEntityId, 0u, 0u, 0u);
}