rectangle shape: store UV position in sampleArea()
parent
979e0fa7a0
commit
175da3a314
|
@ -212,6 +212,7 @@ public:
|
|||
pRec.n = m_frame.n;
|
||||
pRec.pdf = m_invSurfaceArea;
|
||||
pRec.measure = EArea;
|
||||
pRec.uv = sample;
|
||||
}
|
||||
|
||||
Float pdfPosition(const PositionSamplingRecord &pRec) const {
|
||||
|
|
Loading…
Reference in New Issue