Home > other >  Unity3d click click on Image to judge is the water of the sea or the sea or beach ~
Unity3d click click on Image to judge is the water of the sea or the sea or beach ~

Time:09-29



Feelings trigger is a way ~ ~ but this is a frame animation more than four hundred, and for my lazy late carcinoma is quite difficult,
How to identify if use pixel click position around the pixel mean ~

CodePudding user response:

Curious about how did you solve?

CodePudding user response:

Take the uv judgment should be easy

CodePudding user response:

RGB average change black and white figure, then a single uv direction sampling, calculation depth, better to fix

CodePudding user response:

Click position pixel color values, judgment, close to white as the sea, close to the blue as the sea, close to yellow for the beach

CodePudding user response:

Determine the average pixel ~ but a little card
  • Related