diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-01 03:35:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-01 03:51:10 +0300 |
commit | 63f0e150edaeea26fbcc48f62597f4f5c71cc64a (patch) | |
tree | 275c7ec1f9732fd992ce8351cf0da284211edb99 /source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl | |
parent | 480a09a92f7f1f28aabb4ad84b86ddccd6580afc (diff) |
Cleanup: comments (long lines) in draw
Diffstat (limited to 'source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl')
-rw-r--r-- | source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl b/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl index 49c4569f585..82581f2327b 100644 --- a/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl +++ b/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl @@ -84,8 +84,8 @@ void prepare_raycast(vec3 ray_origin, ss_end.w = project_point(ProjectionMatrix, ray_end).z; /* XXX This is a hack a better method is welcome ! */ - /* We take the delta between the offseted depth and the depth and substract it from the ray depth. - * This will change the world space thickness appearance a bit but we can have negative + /* We take the delta between the offseted depth and the depth and substract it from the ray + * depth. This will change the world space thickness appearance a bit but we can have negative * values without worries. We cannot do this in viewspace because of the perspective division. */ ss_start.w = 2.0 * ss_start.z - ss_start.w; ss_end.w = 2.0 * ss_end.z - ss_end.w; |