This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| uniform sampler2D bgl_RenderedTexture; | |
| uniform sampler2D bgl_DepthTexture; | |
| const float blurclamp = 3.0; // max blur amount | |
| const float bias = 0.6; //aperture - bigger values for shallower depth of field | |
| uniform float focus; // this value comes from ReadDepth script. | |
| void main() | |
| { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resNumJFXTextField.textProperty().addListener(new ChangeListener<String>() | |
| { | |
| @Override | |
| public void changed(ObservableValue<? extends String> observable, String oldValue, String newValue) | |
| { | |
| generalEvent(); | |
| } | |
| }); |
NewerOlder