cjsb

Results 12 comments of cjsb

Raytracing. I tried the InstanceID() but I get the same id for any object.

Nice!!! But where does the "meshIndex" come from?

Sorry, I am not sure if I got correctly. In that case the "meshIndex" is an array of indices or single value?

ok, but how do I know which one is being hit?

To make it clear, I am testing in a simple ray tracing algorithm which gets some information on the hit and show on screen. ``` for (auto pVars : mpRays->getHitVars(0))...

As each Mesh that I need the index have a different material id, I did a map between the gMaterial.id and the information that I want. It worked. =)

About your question: I get the wsPos using the getTexture method and setting it to a constant value before starting the ray tracing. By the way, I am storing new...

It was the first option! It is working now, thank you!!! =)

Hi, I am running at x86 visual studio 2017 in a NVIDIA graphics card (gtx 1060). When I run in debug I got this: LOG [DEBUG]: source: 0x8246 type: 0x8251...

Hi, I need to use the style transfer =) How can I do that? I am using Unity 2018.2.14