I'd like a simple color material that has for example 80% front face opacity, 20% back face.
If somehow this is not possible, I'd like to at least achieve semi-transparent front face and invisible back face.
Blender 2.91
I'd like a simple color material that has for example 80% front face opacity, 20% back face.
If somehow this is not possible, I'd like to at least achieve semi-transparent front face and invisible back face.
Blender 2.91
For a face without thickness, you could just use the Backfacing output of a Geometry node to make a switch between values:
(If you don't want unrealistic 1-sided refraction, set the marked IOR field to 1.. you could also use the switch to control, say, Alpha,which may work better for you.. or any other property in the material)
These are simple planes: the faces differ only in their normals-to-camera:
My scene is the default scene with a suzanne added in. Default light has been converted to sun with a strength of 3.
Expanding on the backfacing output, we can use it as a factor for a mix shader to do what you ask on a mesh. We can use two principled BSDF nodes with different transmission values.
Here's the principled BSDF on its own for reference.
Here is a setup reflecting your request. Light has about a 50% chance of entering the mesh, once it's in there, it's exiting immediately out of whatever face it hits.
We can add in the Transparent BSDF to produce this effect.
And here it is with IOR set to 1, no Transparent BSDF.
And with: