WebGL/gl-frontfacing.html at main - GitHub

文章推薦指數: 80 %
投票人數:10人

WebGL/sdk/tests/conformance/glsl/variables/gl-frontfacing.html ... . .

. Skiptocontent {{message}} KhronosGroup / WebGL Public Notifications Fork 645 Star 2.2k Code Issues 172 Pullrequests 20 Actions Projects 0 Wiki Security Insights More Code Issues Pullrequests Actions Projects Wiki Security Insights Permalink main Branches Tags Couldnotloadbranches Nothingtoshow {{refName}} default Couldnotloadtags Nothingtoshow {{refName}} default WebGL/sdk/tests/conformance/glsl/variables/gl-frontfacing.html Gotofile Gotofile T Gotoline L Copypath Copypermalink Thiscommitdoesnotbelongtoanybranchonthisrepository,andmaybelongtoaforkoutsideoftherepository.     Cannotretrievecontributorsatthistime 86lines(77sloc) 2KB Raw Blame OpenwithDesktop Viewraw Viewblame ThisfilecontainsbidirectionalUnicodetextthatmaybeinterpretedorcompileddifferentlythanwhatappearsbelow.Toreview,openthefileinaneditorthatrevealshiddenUnicodecharacters. LearnmoreaboutbidirectionalUnicodecharacters Showhiddencharacters gl-fragcoordTest attributevec4vPosition; voidmain() { gl_Position=vPosition; } precisionmediumpfloat; voidmain() { gl_FragColor=vec4( gl_FrontFacing?1.0:0.0, gl_FrontFacing?0.0:1.0, 0, 1); } Copylines Copypermalink Viewgitblame Referenceinnewissue Go Youcan’tperformthatactionatthistime. Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession. Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.


請為這篇文章評分?