tobspr / RenderPipeline

Physically Based Shading and Deferred Rendering for the Panda3D game engine
https://github.com/tobspr/RenderPipeline/wiki
Other
962 stars 132 forks source link

How to realize the effect of Transparent in samples\07-Shading-Models #134

Open qpmg opened 1 year ago

qpmg commented 1 year ago

In the seventh example, how to implement Transparent? I use blender to make the model transparent, but it is still an opaque object after import. Thank you! Snipaste_2023-02-06_15-28-06 Snipaste_2023-02-06_15-28-19

kergalym commented 1 year ago

You need to add this line to your egg file: <Scalar> emitr { 2 }

More info about shading models is here