Fix old spec
This commit is contained in:
parent
401637f93b
commit
9a174a8269
1 changed files with 0 additions and 5 deletions
|
|
@ -385,11 +385,6 @@ We first declare the extensions and include common files.
|
||||||
#include "wavefront.glsl"
|
#include "wavefront.glsl"
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
Then we **must** add the following, otherwise the intersection shader will not report any hit.
|
|
||||||
|
|
||||||
~~~~ C++
|
|
||||||
hitAttributeEXT vec3 HitAttribute;
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
The following is the topology of all spheres, which we will be able to retrieve using `gl_PrimitiveID`.
|
The following is the topology of all spheres, which we will be able to retrieve using `gl_PrimitiveID`.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue