Chromium Code Reviews
DescriptionVR: Soften the floor grid
- The grid is now drawn in the fragment shader instead of calling DrawLines.
- A single quad is used for the floor, mixing the background and the grid itself in a single shader.
- The geometry simplifies from a set of lines to a single quad.
- The precision for gradient shaders was set to low to reduce stress in the GPU.
BUG=728146
# Presubmit doesn't like float casts in the shader code, which it thinks is c++ when it isn't.
NOPRESUBMIT=true
Review-Url: https://codereview.chromium.org/2907203002
Cr-Commit-Position: refs/heads/master@{#475935}
Committed: https://chromium.googlesource.com/chromium/src/+/5d5052f3e33d06bf1f6710a8e1a94fd972e9c83e
Patch Set 1 #Patch Set 2 : single quad for the floor #
Total comments: 6
Patch Set 3 : nit #
Messages
Total messages: 22 (13 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||