We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 307a405 commit a6511eaCopy full SHA for a6511ea
source/Renderer/shaders/pbr.frag
@@ -156,7 +156,7 @@ void main()
156
#endif
157
158
159
-#if (defined(MATERIAL_TRANSMISSION) || defined(MATERIAL_VOLUME)) && (defined(USE_PUNCTUAL) || defined(USE_IBL))
+#if defined(MATERIAL_TRANSMISSION) && (defined(USE_PUNCTUAL) || defined(USE_IBL))
160
f_transmission += materialInfo.transmissionFactor * getIBLVolumeRefraction(
161
n, v,
162
materialInfo.perceptualRoughness,
0 commit comments