Commit a8deb305 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

BF: disable lighting at compile time for gl33+2D

parent 9b424ae1
......@@ -76,7 +76,7 @@ def compileShaders(self):
const = {
'colourMode' : colourMode,
'clipMode' : clipMode,
'lighting' : True
'lighting' : self.threedee
}
progs = []
......
......@@ -414,7 +414,6 @@ class GLTractogram(globject.GLObject):
shader.set('colourScale', colourScale)
shader.set('colourOffset', colourOffset)
shader.set('resolution', opts.resolution)
shader.set('lighting', False)
for shader in self.iterShaders('orientation',
['vertexData', 'imageData']):
......@@ -438,7 +437,6 @@ class GLTractogram(globject.GLObject):
shader.set('modulateAlpha', opts.modulateAlpha)
shader.set('modScale', modScale)
shader.set('modOffset', modOffset)
shader.set('lighting', False)
def updateColourData(self, refresh=True):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment