forked from Dynamitos/Seele
Adding agents.md, fixing long-broken initializer list constructor
This commit is contained in:
1 parent
6a6294c67d
commit
ff2e4e642d
12 files changed
+484
-526
No files matched your search
@@ -63,7 +63,7 @@ VertexOutput vertexMain(uint vertexId : SV_VertexID, uint instanceId : SV_Instan
|
||||
coordinates[vertexId].x * pViewParams.invScreenDimensions.x * 2.0 - 1.0,
|
||||
1.0 - coordinates[vertexId].y * pViewParams.invScreenDimensions.y * 2.0
|
||||
);
|
||||
output.position = float4(ndc, style.z, 1.0);
|
||||
output.position = float4(ndc, 1 - style.z, 1.0);
|
||||
output.texCoords = coordinates[vertexId].zw; // quad-local uv, interpolated per-fragment
|
||||
output.instanceId = instanceId; // uint varying: exact per-fragment (not interpolated)
|
||||
return output;
|
||||
|
||||
Reference in new issue
Block a user