We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 307a405 + a6511ea commit 26b1dd7Copy full SHA for 26b1dd7
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