1234567891011121314151617 |
- package hrt.shgraph.nodes;
- using hxsl.Ast;
- @name("Front facing")
- @description("Tells if pixel is front or back facing")
- @width(80)
- @group("Property")
- class FrontFacing extends ShaderNodeHxsl {
- static var SRC = {
- @sgoutput var output : Bool;
- function fragment() {
- output = frontFacing;
- }
- };
- }
|