Render factory + debug
This commit is contained in:
@@ -170,7 +170,7 @@ void main() {
|
||||
hash = hash*1231421+123141;
|
||||
hash ^= hash>>16;
|
||||
hash = hash * 1827364925 + 123325621;
|
||||
outColour = vec4(float(hash&15u)/15, float((hash>>4)&15u)/15, float((hash>>8)&15u)/15, 1);
|
||||
outColour = vec4(float(hash&15u)/15, float((hash>>4)&15u)/15, float((hash>>8)&15u)/15, 0);
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
@@ -46,7 +46,7 @@ void main() {
|
||||
|
||||
|
||||
#ifdef DEBUG_RENDER
|
||||
quadDebug = extractDetail(positionBuffer[gl_BaseInstance]);
|
||||
quadDebug = uint(gl_VertexID)>>(2+5);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user