Refactor: GLSL: Cleanup Clip Space vs. NDC Space naming #105423
|
@ -29,9 +29,8 @@ void main()
|
|||
GPU_INTEL_VERTEX_SHADER_WORKAROUND
|
||||
|
||||
vec3 world_pos = point_object_to_world(pos);
|
||||
gl_Position = point_world_to_homogenous(world_pos);
|
||||
vec3 view_pos = point_world_to_view(world_pos);
|
||||
fclem marked this conversation as resolved
|
||||
gl_Position = point_view_to_ndc(view_pos);
|
||||
gl_Position = point_world_to_homogenous(world_pos);
|
||||
|
||||
fclem marked this conversation as resolved
Clément Foucault
commented
You still need to fix the merge errors. This will not compile as You still need to fix the merge errors. This will not compile as `point_view_to_ndc` does not exist anymore.
You only removed the merge tags, but you need to remove what was below the `<<<<<<< HEAD` and do the renaming of what was above `>>>>>>> main`.
|
||||
/* Offset Z position for retopology overlay. */
|
||||
gl_Position.z += get_homogenous_z_offset(view_pos.z, gl_Position.w, retopologyOffset);
|
||||
|
|
Loading…
Reference in New Issue
Here.